EasyManua.ls Logo

Renesas RL78 Series - Page 1375

Renesas RL78 Series
1879 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/F13, F14 CHAPTER 18 CAN INTERFACE (RS-CAN LITE)
R01UH0368EJ0210 Rev.2.10 1343
Dec 10, 2015
CFRXIF Flag
The CFRXIF flag is set to 1 when the following condition is met.
When CFM[1:0] value is B'00 and interrupt source setting the CFIM bit in the CFCCLk register is generated.
The CFRXIF flag is cleared to 0 when any of the following conditions is met.
Write 0 to the CFRXIF flag
When CFM[1:0] value is B'00: In global reset mode
When CFM[1:0] value is B'01: In channel reset mode
Clear this flag to 0 in global operating mode or global test mode.
CFMLT Flag
The CFMLT flag is set to 1 when the following condition is met.
When it is attempted to store a new message while the transmit/receive FIFO buffer is full. In this case, the
new message is discarded.
The CFMLT flag is cleared to 0 when any of the following conditions is met.
Write 0 to the CFMLT flag
When CFM[1:0] value is B'00: In global reset mode
When CFM[1:0] value is B'01: In channel reset mode
Clear this flag to 0 in global operating mode or global test mode.
CFFLL Flag
The CFFLL flag is set to 1 when the following condition is met.
When the number of messages stored in the transmit/receive FIFO buffer matches the FIFO buffer depth set
by the CFDC[2:0] bits in the CFCCLk register.
The CFFLL flag is cleared to 0 when any of the following conditions is met.
When the number of messages stored in the transmit/receive FIFO buffer becomes smaller than the FIFO
buffer depth set by the CFDC[2:0] bits.
When the CFE value in the CFCCLk register is 0 (no transmit/receive FIFO buffer is used).
Note that this flag is set to 0 after transmission completion, CAN bus error detection, or arbitration lost when
the message in the transmit/receive FIFO buffer is being transmitted or to be transmitted next.
When CFM[1:0] value is B'00: In global reset mode
When CFM[1:0] value is B'01: In channel reset mode
CFEMP Flag
The CFEMP flag is set to 1 when any of the following conditions is met.
When the CFM[1:0] value is B'00: All messages have been read, or global reset mode.
When the CFM[1:0] value is B'01: All messages have been transmitted, or channel reset mode.
When the CFE value in the CFCCLk register is 0 (no transmit/receive FIFO buffer is used).
Note that this flag is set to 1 after transmission completion, CAN bus error detection, or arbitration lost when
the message in the transmit/receive FIFO buffer is being transmitted or to be transmitted next.
The CFEMP flag is cleared to 0 when any of the following conditions is met.
When the CFM[1:0] value is B'00: Any one of received messages has been stored in the transmit/receive FIFO
buffer.
When the CFM[1:0] value is B'01: A value H'FF has been written to the CFPCTRk register after data was
written to the CFIDLk, CFIDHk, CFPTRk, and CFDF0k to CFDF3k registers.

Table of Contents

Other manuals for Renesas RL78 Series

Related product manuals