Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1144 of 1852
Nov 30, 2020
RX23W Group 35. I
2
C-bus Interface (RIICa)
35.2.10 I
2
C-bus Status Register 2 (ICSR2)
Note 1. Only 0 can be written to clear the flag.
TMOF Flag (Timeout Detection Flag)
This flag is set to 1 when the RIIC recognizes timeout after the SCL0 line state remains unchanged for a certain period.
[Setting condition]
When the SCL0 line state remains unchanged for the period specified by bits ICMR2.TMOH, TMOL, and TMOS
while the ICFER.TMOE bit is 1 (the timeout function is enabled) in master mode or in slave mode and the received
slave address matches.
[Clearing conditions]
When 0 is written to the TMOF bit after reading TMOF = 1
When 1 is written to the ICCR1.IICRST bit to apply an RIIC reset or an internal reset
AL Flag (Arbitration-Lost Flag)
This flag shows that bus mastership has been lost (loss in arbitration) due to a bus conflict or some other reason when a
start condition is generated or an address and data are transmitted. The RIIC monitors the level on the SDA0 line during
transmission and, if the level on the line does not match the value of the bit being output, sets the value of the AL flag to
1 to indicate that the bus is occupied by another device.
The RIIC can also detect loss of arbitration during NACK transmission in receive mode or during data transmission in
slave mode.
Address(es): RIIC0.ICSR2 0008 8309h
b7 b6 b5 b4 b3 b2 b1 b0
TDRE TEND RDRF NACKF STOP START AL TMOF
Value after reset:
00000000
Bit Symbol Bit Name Description R/W
b0 TMOF Timeout Detection Flag 0: Timeout is not detected.
1: Timeout is detected.
R/(W)
*
1
b1 AL Arbitration-Lost Flag 0: Arbitration is not lost.
1: Arbitration is lost.
R/(W)
*
1
b2 START Start Condition Detection Flag 0: Start condition is not detected.
1: Start condition is detected.
R/(W)
*
1
b3 STOP Stop Condition Detection Flag 0: Stop condition is not detected.
1: Stop condition is detected.
R/(W)
*
1
b4 NACKF NACK Detection Flag 0: NACK is not detected.
1: NACK is detected.
R/(W)
*
1
b5 RDRF Receive Data Full Flag 0: The ICDRR register contains no receive data.
1: The ICDRR register contains receive data.
R/(W)
*
1
b6 TEND Transmit End Flag 0: Data is being transmitted.
1: Data has been transmitted.
R/(W)
*
1
b7 TDRE Transmit Data Empty Flag 0: The ICDRT register contains transmit data.
1: The ICDRT register contains no transmit data.
R