Datasheet

UM10398 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
User manual Rev. 12.3 — 10 June 2014 299 of 547
NXP Semiconductors
UM10398
Chapter 16: LPC111x/LPC11Cxx C_CAN controller
16.6.2.4.5 CAN message interface message control registers
Table 262. CAN message interface message control registers (CANIF1_MCTRL, address 0x4005 0038 and
CANIF2_MCTRL, address 0x4005 0098) bit description
Bit Symbol Value Description Reset
value
Access
3:0 DLC3_0 Data length code 3:0
Remark: The Data Length Code of a Message Object must be defined the
same as in all the corresponding objects with the same identifier at other
nodes. When the Message Handler stores a data frame, it will write the
DLC to the value given by the received message.
0000 - 1000 = Data frame has 0 - 8 data bytes.
1001 - 1111 = Data frame has 8 data bytes.
0000 R/W
6:4 - Reserved - -
7 EOB End of buffer 0 R/W
0 Not end of buffer. Message object belongs to a FIFO buffer and is not the
last message object of that FIFO buffer.
1 End of buffer. Single message object or last message object of a FIFO
buffer.
8 TXRQST Transmit request 0 R/W
0 Not waiting. This message object is not waiting for transmission.
1 Waiting. The transmission of this message object is requested and is not
yet done
9 RMTEN Remote enable 0 R/W
0 TXRQST unchanged. At the reception of a remote frame, TXRQST is left
unchanged.
1 TXRQST set. At the reception of a remote frame, TXRQST is set.
10 RXIE Receive interrupt enable 0 R/W
0 INTPND unchanged. INTPND will be left unchanged after successful
reception of a frame.
1 INTPND set. INTPND will be set after successful reception of a frame.
11 TXIE Transmit interrupt enable 0 R/W
0 INTPND unchanged. The INTPND bit will be left unchanged after a
successful transmission of a frame.
1 INTPND set. INTPND will be set after a successful transmission of a
frame.
12 UMASK Use acceptance mask
Remark: If UMASK is set to 1, the message object’s mask bits have to be
programmed during initialization of the message object before MAGVAL is
set to 1.
0R/W
0 Ignore. Mask ignored.
1 Use. Use mask (MSK[28:0], MXTD, and MDIR) for acceptance filtering.
13 INTPND Interrupt pending 0 R/W
0 Not pending. This message object is not the source of an interrupt.
1 Pending. This message object is the source of an interrupt. The Interrupt
Identifier in the Interrupt Register will point to this message object if there
is no other interrupt source with higher priority.