
M451
May. 4, 2018
Page
905
of
1006
Rev.2.08
M4
51
S
E
RI
E
S
T
E
CH
NICA
L RE
F
E
R
E
NC
E
M
A
NU
A
L
IFn Message Control Register (CAN_IFn_MCON)
Register
Offset
R/W
Description
Reset Value
CAN_IFn_MCON
n = 1,2
0x38 +
(0x60 *(n-1))
R/W
IFn Message Control Registers
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
NewDat
MsgLst
IntPnd
UMask
TxIE
RxIE
RmtEn
TxRqst
7
6
5
4
3
2
1
0
EoB
Reserved
DLC
Bits
Description
[31:16]
Reserved
Reserved.
[15]
NewDat
New Data
0 = No new data has been written into the data portion of this Message Object by the Message
Handler since last time this flag was cleared by the application software.
1 = The Message Handler or the application software has written new data into the data portion
of this Message Object.
[14]
MsgLst
Message Lost (only valid for Message Objects with direction = receive).
0 = No message lost since last time this bit was reset by the CPU.
1 = The Message Handler stored a new message into this object when NewDat was still set, the
CPU has lost a message.
[13]
IntPnd
Interrupt Pending
0 = This message object is not the source of an interrupt.
1 = 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.
[12]
UMask
Use Acceptance Mask
0 = Mask ignored.
1 = Use Mask (Msk28-0, MXtd, and MDir) for acceptance filtering.
Note:
If the UMask bit is set to one, the Message Object’s mask bits have to be programmed
during initialization of the Message Object before MsgVal bit (CAN_IFn_ARB2[15]) is set to
one.
[11]
TxIE
Transmit Interrupt Enable Bit
0 = IntPnd (CAN_IFn_MCON[13]) will be left unchanged after the successful transmission of a
frame.
1 = IntPnd will be set after a successful transmission of a frame.
[10]
RxIE
Receive Interrupt Enable Bit
0 = IntPnd (CAN_IFn_MCON[13]) will be left unchanged after a successful reception of a frame.
1 = IntPnd will be set after a successful reception of a frame.