Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 20 CAN CONTROLLER
R01UH0042EJ0500 Rev.5.00 Page 974 of 1513
Aug 12, 2011
(23) CAN0 message control register m (C0MCTRLm)
The C0MCTRLm register is used to control the operation of the message buffer.
(1/3)
After reset: 00x000000
000xx000B
R/W Address: See Table 20-16.
(a) Read
15 14 13 12 11 10 9 8
C0MCTRLm 0 0 MUC 0 0 0 0 0
7 6 5 4 3 2 1 0
0 0 0 MOW IE DN TRQ RDY
(b) Write
15 14 13 12 11 10 9 8
C0MCTRLm 0 0 0 0
Set
IE
0
Set
TRQ
Set
RDY
7 6 5 4 3 2 1 0
0 0 0
Clear
MOW
Clear
IE
Clear
DN
Clear
TRQ
Clear
RDY
(a) Read
MUC
Note
Bit indicating that message buffer data is being updated
0 The CAN module is not updating the message buffer (reception and storage).
1 The CAN module is updating the message buffer (reception and storage).
Note The MUC bit is undefined until the first reception and storage is performed.
MOW Message buffer overwrite status bit
0 The message buffer is not overwritten by a newly received data frame.
1 The message buffer is overwritten by a newly received data frame.
Remark The MOW bit is not set to 1 even if a remote frame is received and stored in the transmit message
buffer with the DN bit = 1.
IE Message buffer interrupt request enable bit
0
Receive message buffer: Valid message reception completion interrupt disabled.
Transmit message buffer: Normal message transmission completion interrupt disabled.
1
Receive message buffer: Valid message reception completion interrupt enabled.
Transmit message buffer: Normal message transmission completion interrupt enabled.
DN Message buffer data update bit
0 A data frame or remote frame is not stored in the message buffer.
1 A data frame or remote frame is stored in the message buffer.