Download Print this page

Hitachi H8S/2633 Hardware Manual page 751

Advertisement

Start
Initialize
Set MST = 0
and TRS = 0 in ICCR
Set ACKB = 0 in ICSR
Read IRIC in ICCR
No
IRIC = 1?
Yes
Read AAS and ADZ in ICSR
AAS = 1
and ADZ = 0?
Yes
Read TRS in ICCR
TRS = 0?
Yes
Last receive?
No
Read ICDR
Clear IRIC in ICCR
Read IRIC in ICCR
No
IRIC = 1?
Yes
Set ACKB = 0 in ICSR
Read ICDR
Clear IRIC in ICCR
Read IRIC in ICCR
No
IRIC = 1?
Yes
Read ICDR
Clear IRIC in ICCR
End
Figure 18-16 Flowchart for Slave Transmit Mode (Example)
[1]
[2]
No
General call address processing
* Description omitted
No
Slave transmit mode
Yes
[3]
[1] Select slave receive mode.
[2] Wait for the first byte to be received (slave
[3] Start receiving. The first read is a dummy read.
[4]
[4] Wait for the transfer to end.
[5] Set acknowledge data for the last receive.
[6] Start the last receive.
[7] Wait for the transfer to end.
[8] Read the last receive data.
[5]
[6]
[7]
[8]
address).
733

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631