Controller Area Network (FlexCAN)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
25-26
Freescale Semiconductor
Preliminary
CANx_IMASK2 bit is set, an interrupt will be generated. The interrupt flag must be cleared by writing it
to ‘1’. Writing ‘0’ has no effect.
When the AEN bit in the CANx_MCR is set (abort enabled), while the CANx_IFLAG2 bit is set for a MB
configured as Tx, the writing access done by CPU into the corresponding MB will be blocked.
25.3.4.10 Interrupt Flags 1 Register (CANx_IFLAG1)
This register defines the flags for 32 message buffer interrupts and FIFO interrupts. It contains one
interrupt flag bit per buffer. Each successful transmission or reception sets the corresponding
CANx_IFLAG1 bit. If the corresponding CANx_IMASK1 bit is set, an interrupt will be generated. The
interrupt flag must be cleared by writing it to ‘1’. Writing ‘0’ has no effect.
When the AEN bit in theCANx_MCR is set (Abort enabled), while the CANx_IFLAG1 bit is set for a MB
configured as Tx, the writing access done by CPU into the corresponding MB will be blocked.
When the FEN bit in the CANx_MCR is set (FIFO enabled), the function of the eight least significant
interrupt flags (BUF7I - BUF0I) is changed to support the FIFO operation. BUF7I, BUF6I and BUF5I
indicate operating conditions of the FIFO, while BUF4I to BUF0I are not used.
Offset: Base + 0x002C
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R BUF
63I
BUF
62I
BUF
61I
BUF
60I
BUF
59I
BUF
58I
BUF
57I
BUF
56I
BUF
55I
BUF
54I
BUF
53I
BUF
52I
BUF
51I
BUF
50I
BUF
49I
BUF
48I
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
47I
BUF
46I
BUF
45I
BUF
44I
BUF
43I
BUF
42I
BUF
41I
BUF
40I
BUF
39I
BUF
38I
BUF
37I
BUF
36I
BUF
35I
BUF
34I
BUF
33I
BUF
32I
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 25-13. Interrupt Flag 2 Register (CANx_IFLAG2)
Table 25-14. CANx_IFLAG2 Field Descriptions
Field
Description
BUFnI
Message Buffer n Interrupt. Each bit represents the respective FlexCAN message buffer (MB63–MB32)
interrupt. Write 1 to clear.
0 No such occurrence
1 The corresponding buffer has successfully completed transmission or reception.