English
Language : 

HD64F3337YCP16V Datasheet, PDF (338/749 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Master receive mode
Set TRS = 0 in ICCR
1
Set ACKB = 0 in ICSR
2
Last receive?
No
Read ICDR
Yes
3
Read IRIC in ICSR
4
No
IRIC = 1?
Yes
Clear IRIC in ICSR
1. Select receive mode.
2. Set acknowledgement data.
3. Start receiving. The first read is a dummy read.
4. Wait for 1 byte to be received.
5. Set acknowledgement data for the last receive.
6. Start the last receive.
7. Wait for 1 byte to be received.
8. Select transmit mode.
9. Read the last receive data (if ICDR is read
without selecting transmit mode, receive
operations will resume).
10. Generate a stop condition.
Set ACKB = 1 in ICSR
5
Read ICDR
6
Read IRIC in ICSR
7
No
IRIC = 1?
Yes
Clear IRIC in ICSR
Set TRS = 1 in ICCR
8
Read ICDR
9
Write BBSY = 0
10
and SCP = 0 in ICSR
End
Figure 13.13 Flowchart for Master Receive Mode (Example)
306