I 2 C-Bus Status Register 2 (Icsr2) - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
2
24.2.10
I
C-bus Status Register 2 (ICSR2)
Address(es): RIIC0.ICSR2 0008 8309h
b7
b6
TDRE
TEND
0
0
Value after reset:
Bit
Symbol
Bit Name
b0
TMOF
Timeout Detection Flag
b1
AL
Arbitration-Lost Flag
b2
START
Start Condition Detection Flag
b3
STOP
Stop Condition Detection Flag
b4
NACKF
NACK Detection Flag
b5
RDRF
Receive Data Full Flag
b6
TEND
Transmit End Flag
b7
TDRE
Transmit Data Empty Flag
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.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b5
b4
b3
b2
RDRF NACKF STOP START
0
0
0
0
b1
b0
AL
TMOF
0
0
Description
0: Timeout is not detected.
1: Timeout is detected.
0: Arbitration is not lost.
1: Arbitration is lost.
0: Start condition is not detected.
1: Start condition is detected.
0: Stop condition is not detected.
1: Stop condition is detected.
0: NACK is not detected.
1: NACK is detected.
0: The ICDRR register contains no receive data.
1: The ICDRR register contains receive data.
0: Data is being transmitted.
1: Data has been transmitted.
0: The ICDRT register contains transmit data.
1: The ICDRT register contains no transmit data.
2
24. I
C-bus Interface (RIICa)
R/W
R/(W)
1
*
R/(W)
1
*
R/(W)
1
*
R/(W)
1
*
R/(W)
1
*
R/(W)
1
*
R/(W)
1
*
R
Page 747 of 1041

Advertisement

Table of Contents
loading

Table of Contents