Hitachi H8/3692 Manual Do Utilizador
![Hitachi](https://files.manualsbrain.com/attachments/318a30c9d46cae1a03ff29c8e1a8ce7b06c25f29/common/fit/150/50/c3659964771301ddbc1d53d08b2407adc4af72464bc0f65ffa4212552d47/brand_logo.png)
Rev. 1.0, 07/01, page 249 of 372
No
Yes
RDRF=1 ?
No
Yes
RDRF=1 ?
Last receive
- 1?
Slave receive mode
Clear AAS in ICSR
Clear ACKBT in ICIER to 0
Dummy-read ICDRR
Read RDRF in ICSR
Read ICDRR
Set ACKBT in ICIER to 1
Read ICDRR
Read RDRF in ICSR
Read ICDRR
End
No
Yes
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[1] Clear the AAS flag.
[2] Set acknowledge to the transmit device.
[3] Dummy-read ICDRR.
[4] Wait for 1 byte to be received.
[5] Check whether it is the (last receive - 1).
[6] Read the receive data.
[7] Set acknowledge of the last byte.
[8] Read the (last byte - 1) of receive data.
[9] Wait the last byte to be received.
[10] Read for the last byte of receive data.
Figure 15-20 Sample Flowchart for Slave Receive Mode