Section 18
I
2
C Bus Interface (IIC)
Rev. 1.00 Mar. 12, 2008 Page 633 of 1178
REJ09B0403-0100
Receive Operation Using the HNDS Function (HNDS = 1):
Figure 18.17 shows the sample flowchart for the operations in slave receive mode (HNDS = 1).
Slave receive mode
Read IRIC in ICCR
Clear IRIC in ICCR
Clear IRIC in ICCR
Read AASX, AAS and ADZ in ICSR
Read TRS in ICCR
Read IRIC in ICCR
Clear IRIC in ICCR
Clear IRIC in ICCR
Read ICDR
Read ICDR
Set ACKB = 0 in ICSR
and HNDS = 1 in ICXR
General call address processing
*
Description omitted
Set MST = 0
and TRS = 0 in ICCR
IRIC
= 1?
No
Yes
Read IRIC in ICCR
Set ACKB = 1 in ICSR
IRIC
= 1?
No
No
Yes
Yes
TRS = 1?
IRIC
= 1?
Yes
Yes
No
Yes
No
AAS = 1
and ADZ = 1?
[1] Initialization. Select slave receive mode.
[2] Read the receive data remaining unread.
[3] to [7] Wait for one byte to be received (slave a R/
W
)
[10] Read the receive data. The first read is a dummy read.
[9] Set acknowledge data for the last reception.
[8] Clear IRIC
[5] to [7] Wait for the reception to end.
[5] to [7] Wait for the reception to end.
or
[11] Detect stop condition
Slave transmit mode
Last reception?
Yes
No
No
ReadICDR, clear IRIC
No
Yes
Initialize IIC
ICDRF
= 1?
[8] Clear IRIC
[12] Check STOP
[8] Clear IRIC
[12] Clear IRIC
[10] Read the receive data.
End
Clear IRIC in ICCR
ESTP = 1 or
STOP = 1?
Figure 18.17 Sample Flowchart for Operations in Slave Receive Mode (HNDS = 1)
Содержание H8S Family
Страница 2: ...Rev 1 00 Mar 12 2008 Page ii of xIviii...
Страница 8: ...Rev 1 00 Mar 12 2008 Page viii of xIviii...
Страница 28: ...Rev 1 00 Mar 12 2008 Page xxviii of xIviii...
Страница 48: ...Rev 1 00 Mar 12 2008 Page xlviii of xIviii...
Страница 70: ...Section 1 Overview Rev 1 00 Mar 12 2008 Page 22 of 1178 REJ09B0403 0100...
Страница 108: ...Section 2 CPU Rev 1 00 Mar 12 2008 Page 60 of 1178 REJ09B0403 0100...
Страница 116: ...Section 3 MCU Operating Modes Rev 1 00 Mar 12 2008 Page 68 of 1178 REJ09B0403 0100...
Страница 152: ...Section 5 Interrupt Controller Rev 1 00 Mar 12 2008 Page 104 of 1178 REJ09B0403 0100...
Страница 206: ...Section 6 Bus Controller BSC Rev 1 00 Mar 12 2008 Page 158 of 1178 REJ09B0403 0100...
Страница 420: ...Section 9 14 Bit PWM Timer PWMX Rev 1 00 Mar 12 2008 Page 372 of 1178 REJ09B0403 0100...
Страница 476: ...Section 12 Watchdog Timer WDT Rev 1 00 Mar 12 2008 Page 428 of 1178 REJ09B0403 0100...
Страница 552: ...Section 14 CRC Operation Circuit CRC Rev 1 00 Mar 12 2008 Page 504 of 1178 REJ09B0403 0100...
Страница 588: ...Section 15 Serial Communication Interface with FIFO SCIF Rev 1 00 Mar 12 2008 Page 540 of 1178 REJ09B0403 0100...
Страница 632: ...Section 17 Synchronous Serial Communication Unit SSU Rev 1 00 Mar 12 2008 Page 584 of 1178 REJ09B0403 0100...
Страница 712: ...Section 18 I2 C Bus Interface IIC Rev 1 00 Mar 12 2008 Page 664 of 1178 REJ09B0403 0100...
Страница 804: ...Section 19 LPC Interface LPC Rev 1 00 Mar 12 2008 Page 756 of 1178 REJ09B0403 0100...
Страница 838: ...Section 20 Ethernet Controller EtherC Rev 1 00 Mar 12 2008 Page 790 of 1178 REJ09B0403 0100...
Страница 964: ...Section 24 RAM Rev 1 00 Mar 12 2008 Page 916 of 1178 REJ09B0403 0100...
Страница 1066: ...Section 25 Flash Memory Rev 1 00 Mar 12 2008 Page 1018 of 1178 REJ09B0403 0100...
Страница 1098: ...Section 26 Boundary Scan JTAG Rev 1 00 Mar 12 2008 Page 1050 of 1178 REJ09B0403 0100...
Страница 1168: ...Section 30 Platform Environment Control Interface PECI Rev 1 00 Mar 12 2008 Page 1120 of 1178 REJ09B0403 0100...
Страница 1226: ...Rev 1 00 Mar 12 2008 Page 1178 of 1178 REJ09B0403 0100...
Страница 1229: ......
Страница 1230: ...H8S 2472 Group H8S 2462 Group Hardware Manual...