FlexCAN
30-15
Freescale Semiconductor
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
30.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 (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
BUFnM
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 30-10. FlexCAN Interrupt Mask Register (IMASK)
Table 30-8. ERRSTAT Field Descriptions (continued)
Field
Description
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60