RX610 Group
22. I
2
C Bus Interface (RIIC)
R01UH0032EJ0120 Rev.1.20
Page 716 of 1006
Feb 20, 2013
22.2.10 I
2
C Bus Status Register 2 (ICSR2)
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
0
0
0
0
0
0
0
0
TDRE
TEND
RDRF
NACKF
STOP
START
AL
TMOF
Addresses: RIIC0.ICSR2 0008 8309h, RIIC1.ICSR2 0008 8329h
Bit
Symbol
Bit Name
Description
R/W
b0
TMOF
Timeout Detection Flag
0: Timeout is not detected
1: Timeout is detected
R/(W)
*
b1
AL
Arbitration Lost Flag
0: Arbitration is not lost
1: Arbitration is lost
R/(W)
*
b2
START
Start Condition Detection Flag
0: Start condition is not detected
1: Start condition is detected
R/(W)
*
b3
STOP
Stop Condition Detection Flag
0: Stop condition is not detected
1: Stop condition is detected
R/(W)
*
b4
NACKF
NACK Detection Flag
0: NACK is not detected
1: NACK is detected
R/(W)
*
b5
RDRF
Receive Data Full Flag
0: ICDRR contains no receive data
1: ICDRR contains receive data
R/(W)
*
b6
TEND
Transmit End Flag
0: Data is being transmitted
1: Data has been transmitted
R/(W)
*
b7
TDRE
Transmit Data Empty Flag
0: ICDRT contains transmit data
1: ICDRT contains no transmit data
R
Note:
*
Only 0 can be written to clear the flag.
ICSR2 indicates various interrupt request flags and statuses.
TMOF Flag (Timeout Detection)
This flag is set to 1 when the RIIC recognizes timeout after the SCLn line state remains unchanged for a certain period.
[Setting condition]
•
When the SCLn line state remains unchanged for the period specified by bits TMOH, TMOL, and TMOS in ICMR2
with the TMOE bit in ICFER set to 1 (timeout detection function enabled) in master mode or in the slave
specification state.
[Clearing conditions]
•
When 0 is written to the TMOF bit after reading TMOF = 1
•
When 1 is written to the IICRST bit in ICCR1 to apply an RIIC reset or an internal reset
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...