R01UH0822EJ0100 Rev.1.00
Page 747 of 1041
Jul 31, 2019
RX13T Group
24. I
2
C-bus Interface (RIICa)
24.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 issued 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 set the flag to indicate the detection of loss of arbitration during NACK transmission in master 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:
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
Timeout Detection Flag
0: Timeout is not detected.
1: Timeout is detected.
R/(W)
*
b1
Arbitration-Lost Flag
0: Arbitration is not lost.
1: Arbitration is lost.
R/(W)
*
b2
Start Condition Detection Flag
0: Start condition is not detected.
1: Start condition is detected.
R/(W)
*
b3
Stop Condition Detection Flag
0: Stop condition is not detected.
1: Stop condition is detected.
R/(W)
*
b4
NACK Detection Flag
0: NACK is not detected.
1: NACK is detected.
R/(W)
*
b5
Receive Data Full Flag
0: The ICDRR register contains no receive data.
1: The ICDRR register contains receive data.
R/(W)
*
b6
Transmit End Flag
0: Data is being transmitted.
1: Data has been transmitted.
R/(W)
*
b7
Transmit Data Empty Flag
0: The ICDRT register contains transmit data.
1: The ICDRT register contains no transmit data.
R