NEC V850ES/F 3-L Series User Manual page 592

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 18
(21)
Access
Address
Initial Value
Note
592
CnMCONFm - CANn message configuration register m
The CnMCONFm register is used to specify the type of the message buffer
and to set a mask.
This register can be read/written in 8-bit units.
Refer to "CAN registers overview" on page 555.
Undefined.
7
6
OWS
RTR
OWS
Overwrite control bit
The message buffer that has already received a data frame
0
overwritten by a newly received data frame. The newly received data
frame is discarded.
The message buffer that has already received a data frame
1
overwritten by a newly received data frame.
a)
The "message buffer that has already received a data frame" is a receive message
buffer whose the CnMCTRLm.DN bit has been set to 1.
A remote frame is received and stored, regardless of the setting of OWS and
DN. A remote frame that satisfies the other conditions (ID matches, RTR = 0,
TRQ = 0) is always received and stored in the corresponding message buffer
(interrupt generated, DN flag set, MDLC[3:0] updated, and recorded to the
receive history list).
RTR
Remote frame request bit
0
Transmit a data frame.
1
Transmit a remote frame.
a)
The RTR bit specifies the type of message frame that is transmitted from a mes-
sage buffer defined as a transmit message buffer. Even if a valid remote frame has
been received, the RTR bit of the transmit message buffer that has received the
frame remains cleared to 0. Even if a remote frame whose ID matches has been
received from the CAN bus with the RTR bit of the transmit message buffer set to
1 to transmit a remote frame, that remote frame is not received or stored (interrupt
generated, DN flag set, the MDLC0 to MDLC3 bits updated, and recorded to the
receive history list).
MT2
MT1
0
0
0
0
0
1
0
1
1
0
1
0
Other than above
User's Manual U18743EE1V2UM00
5
4
3
MT2
MT1
MT0
a
MT0
Message buffer type setting bit
0
Transmit message buffer
1
Receive message buffer (no mask setting)
0
Receive message buffer (mask 1 set)
1
Receive message buffer (mask 2 set)
0
Receive message buffer (mask 3 set)
1
Receive message buffer (mask 4 set)
Setting prohibited
CAN Controller (CAN)
2
1
0
0
0
MA0
a
is not
a
is

Advertisement

Table of Contents
loading

Table of Contents