RM0046 LIN Controller (LINFlex)
Doc ID 16912 Rev 5 499/936
RMB
Release Message Buffer
0Buffer is free.
1 Buffer ready to be read by software. This bit must be cleared by software after reading data
received in the buffer.
This bit is cleared by hardware in Initialization mode.
RBSY
Receiver Busy Flag
0 Receiver is idle
1 Reception ongoing
Note: In Slave mode, after header reception, if BIDR[DIR] = 0 and reception starts then
this bit is set. In this case, user cannot program LINCR2[DTRQ] = 1.
RPS
LIN receive pin state
This bit reflects the current status of LINRX pin for diagnostic purposes.
WUF
Wake-up Flag
This bit is set by hardware and indicates to the software that LINFlex has detected a falling
edge on the LINRX pin when:
– Slave is in Sleep mode
– Master is in Sleep mode or idle state
This bit must be cleared by software. It is reset by hardware in Initialization mode. An interrupt
is generated if WUIE bit in LINIER is set.
DBFF
Data Buffer Full Flag
This bit is set by hardware and indicates the buffer is full. It is set only when receiving extended
frames (DFL > 7).
This bit must be cleared by software.
It is reset by hardware in Initialization mode.
DBEF
Data Buffer Empty Flag
This bit is set by hardware and indicates the buffer is empty. It is set only when transmitting
extended frames (DFL > 7).
This bit must be cleared by software, once buffer has been filled again, in order to start
transmission.
This bit is reset by hardware in Initialization mode.
DRF
Data Reception Completed Flag
This bit is set by hardware and indicates the data reception is completed.
This bit must be cleared by software.
It is reset by hardware in Initialization mode.
Note: This flag is not set in case of bit error or framing error.
DTF
Data Transmission Completed Flag
This bit is set by hardware and indicates the data transmission is completed.
This bit must be cleared by software.
It is reset by hardware in Initialization mode.
Note: This flag is not set in case of bit error if IOBE bit is reset.
Table 239. LINSR field descriptions (continued)
Field Description