h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 590

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 17 I
Rev. 3.00 Jan 25, 2006 page 538 of 872
REJ09B0286-0300
No
2
No
No
C Bus Interface (IIC)
Read AAS and ADZ in ICSR
Set ACKB = 0 in ICSR
Set ACKB = 1 in ICSR
and TRS = 0 in ICCR
Read IRIC in ICCR
Clear IRIC in ICCR
Figure 17.20 Sample Flowchart for Slave Receive Mode
Read IRIC in ICCR
Clear IRIC in ICCR
Read IRIC in ICCR
Clear IRIC in ICCR
Read TRS in ICCR
Last reception?
and ADZ = 0?
Set MST = 0
Read ICDR
Read ICDR
Read ICDR
IRIC = 1?
IRIC = 1?
IRIC = 1?
TRS = 0?
Initialize
AAS = 1
Start
End
Yes
Yes
No
Yes
Yes
Yes
No
No
Yes
General call address processing
Slave transmit mode
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
* Description omitted
[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] Wait for the reception to end.
[5] Set acknowledge data for the last reception.
[6] Start the last reception.
[7] Wait for the reception to end.
[8] Read the last receive data.
address).

Related parts for h8s-2158