Controller Area Network (FlexCAN)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
25-24
Freescale Semiconductor
Preliminary
25.3.4.7
Interrupt Masks 2 Register (CANx_IMASK2)
This register allows any number of a range of 32 Message Buffer Interrupts to be enabled or disabled. It
contains one interrupt mask bit per buffer, enabling the CPU to determine which buffer generates an
interrupt after a successful transmission or reception (that is, when the corresponding CANx_IFLAG2 bit
is set).
IDLE
CAN Bus IDLE State. This status bit indicates when CAN bus is in IDLE state.
0 No such occurrence
1 CAN bus is now IDLE
TXRX
Current FlexCAN Status (Transmitting/Receiving). This status bit indicates if FlexCAN is transmitting or
receiving a message when the CAN bus is not in IDLE state. This bit has no meaning when IDLE is
asserted.
0 FlexCAN is receiving a message (IDLE = 0)
1 FlexCAN is transmitting a message (IDLE = 0)
FLTCONF
Fault Confinement State. This status bit indicates the confinement state of the FlexCAN module. If the LOM
bit in the CANx_CTRL is asserted, the FLTCONF field will indicate “Error Passive”. Since the CANx_CTRL
is not affected by soft reset, the FLTCONF field will not be affected by soft reset if the LOM bit is asserted.
00 Error active
01 Error passive
1X Bus off
bit 28
Reserved.
BOFFINT
Bus Off Interrupt. This status bit is set when FlexCAN is in the bus off state. If CANx_CTRL[BOFFMSK] is
set, an interrupt is generated to the CPU. This bit is cleared by writing it to 1. Writing 0 has no effect.
0 No such occurrence
1 FlexCAN module is in ‘Bus Off’ state
ERRINT
Error Interrupt. This status bit indicates that at least one of the error bits (bits 16-21) is set. If
CANx_CTRL[ERRMSK] is set, an interrupt is generated to the CPU. This bit is cleared by writing it to 1.
Writing 0 has no effect.
0 No such occurrence
1 Indicates setting of any error bit in the CANx_CANx_ESR
bit 31
Reserved.
Offset: Base + 0x0024
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R BUF
63M
BUF
62M
BUF
61M
BUF
60M
BUF
59M
BUF
58M
BUF
57M
BUF
56M
BUF
55M
BUF
54M
BUF
53M
BUF
52M
BUF
51M
BUF
50M
BUF
49M
BUF
48M
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R BUF
47M
BUF
46M
BUF
45M
BUF
44M
BUF
43M
BUF
42M
BUF
41M
BUF
40M
BUF
39M
BUF
38M
BUF
37M
BUF
36M
BUF
35M
BUF
34M
BUF
33M
BUF
32M
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 25-11. Interrupt Masks 2 Register (CANx_IMASK2)
Table 25-11. CANx_ESR Field Descriptions (continued)
Field
Description