![Freescale Semiconductor ColdFire MCF5211 Reference Manual Download Page 453](http://html1.mh-extra.com/html/freescale-semiconductor/coldfire-mcf5211/coldfire-mcf5211_reference-manual_2330619453.webp)
FlexCAN
MCF5213 ColdFire® Integrated Microcontroller Reference Manual, Rev. 3
Freescale Semiconductor
25-15
25.3.7
Interrupt Mask Register (IMASK)
IMASK contains one interrupt mask bit per buffer. It enables the CPU to determine which buffer generates
an interrupt after a successful transmission/reception (that is, when the corresponding IFLAG bit is set).
7
IDLE
Idle status. Indicates when there is activity on the CAN bus.
0 The CAN bus is not idle.
1 The CAN bus is idle.
6
TXRX
Transmit/receive status. Indicates when the FlexCAN module is transmitting or receiving a message. TXRX has no
meaning when IDLE equals 1.
0 The FlexCAN is receiving a message if IDLE equals 0.
1 The FlexCAN is transmitting a message if IDLE equals 0.
5–4
FLTCONF
Fault confinement state. Indicates the confinement state of the FlexCAN module, as shown below. If the
CANCTRL[LOM] bit is set, FLTCONF indicates error-passive. Because the CANCTRL register is not affected by
soft reset, the FLTCONF field is not affected by soft reset if the LOM bit is set.
00 Error active
01 Error passive
1x Bus off
3
Reserved, must be cleared.
2
BOFFINT
Bus off interrupt. Used to request an interrupt when the FlexCAN enters the bus off state. The user must write a 1
to clear this bit. Writing 0 has no effect.
0 No bus off interrupt requested.
1 This bit is set when the FlexCAN state changes to bus off. If the CANCTRL[BOFFMSK] bit is set an interrupt
request is generated. This interrupt is not requested after reset.
1
ERRINT
Error interrupt. Indicates that at least one of the ERRSTAT[15:10] bits is set. The user must write a 1 to clear this
bit. Writing 0 has no effect.
0 No error interrupt request.
1 At least one of the error bits is set. If the CANCTRL[ERRMSK] bit is set, an interrupt request is generated.
0
Reserved, must be cleared.
IPSBAR
Offset:
0x1C_0028 (IMASK)
Access: User read/write
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BUF
n
M
W
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Figure 25-10. FlexCAN Interrupt Mask Register (IMASK)
Table 25-8. ERRSTAT Field Descriptions (continued)
Field
Description