RX610 Group
22. I
2
C Bus Interface (RIIC)
R01UH0032EJ0120 Rev.1.20
Page 713 of 1006
Feb 20, 2013
Bit
Symbol
Bit Name
Description
R/W
b5
DID
Device-ID Command Detection Flag
0: Device-ID command is not detected
1: Device-ID command is detected
•
This bit is set to 1 when the first frame received immediately
after a start condition is detected matches a value of (device ID
(1111 100b) + 0 [W]).
R/(W)
*
b6
Reserved
This bit is always read as 0. The write value should always be 0.
R/W
b7
HOA
Host Address Detection Flag
0: Host address is not detected
1: Host address is detected
•
This bit is set to 1 when the received slave address matches the
host address (0001 000b).
R/(W)
*
Note:
*
Only 0 can be written to clear the flag.
ICSR1 indicates various address detection statuses.
AASy Flag (Slave Address y Detection) (ym = 0 to 2)
[Setting conditions]
<For 7-bit address format: SARUy.FS = 0>
•
When the received slave address matches the SVA[7:1] value in SARLy with the SARyE bit in ICSER set to 1
(slave address m detection enabled)
This flag is set to 1 at the rising edge of the ninth SCL clock cycle in the frame.
<For 10-bit address format: SARUy.FS = 1>
•
When the received slave address matches a value of (1111 0b + SVA [9:8] in SARUy) and the following address
matches the SARLy value with the SARyE bit in ICSER set to 1 (slave address m detection enabled)
This flag is set to 1 at the rising edge of the ninth SCL clock cycle in the frame.
[Clearing conditions]
•
When 0 is written to the AASy bit after reading AASy = 1
•
When a stop condition is detected
•
When 1 is written to the IICRST bit in ICCR1 to apply an RIIC reset or an internal reset
<For 7-bit address format: SARUy.FS = 0>
•
When the received slave address does not match the SVA[7:1] value in SARLy with the SARyE bit in ICSER set to
1 (slave address m detection enabled)
This flag is cleared to 0 at the rising edge of the ninth SCL clock cycle in the frame.
<For 10-bit address format: SARUy.FS = 1>
•
When the received slave address does not match a value of (1111 0b + SVA [9:8] in SARUy) with the SARyE bit in
ICSER set to 1 (slave address m detection enabled)
This flag is cleared to 0 at the rising edge of the ninth SCL clock cycle in the frame.
•
When the received slave address matches a value of (1111 0b + SVA [9:8] in SARUy) and the following address
does not match the SARLy value with the SARyE bit in ICSER set to 1 (slave address m detection enabled)
This flag is cleared to 0 at the rising edge of the ninth SCL clock cycle in the frame.