Controller Area Network (FlexCAN)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
Freescale Semiconductor
25-25
Preliminary
25.3.4.8
Interrupt Masks 1 Register (CANx_IMASK1)
This register allows to enable or disable any number of a range of 32 Message Buffer Interrupts. It contains
one interrupt mask bit per buffer, enabling the CPU to determine which buffer generates an interrupt after
a successful transmission or reception (i.e., when the corresponding CANx_IFLAG1 bit is set).
25.3.4.9
Interrupt Flags 2 Register (CANx_IFLAG2)
This register defines the flags for 32 Message Buffer interrupts. It contains one interrupt flag bit per buffer.
Each successful transmission or reception sets the corresponding CANx_IFLAG2 bit. If the corresponding
Table 25-12. CANx_IMASK2 Field Descriptions
Field
Description
BUFnM
Message Buffer n Mask. Enables or disables the respective FlexCAN message buffer (MB63 to MB32)
Interrupt.
0 The corresponding buffer Interrupt is disabled
1 The corresponding buffer Interrupt is enabled
Note: Setting or clearing a bit in the CANx_IMASK2 register can assert or negate an interrupt request,
respectively.
Offset: Base + 0x0028
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R BUF
31M
BUF
30M
BUF
29M
BUF
28M
BUF
27M
BUF
26M
BUF
25M
BUF
24M
BUF
23M
BUF
22M
BUF
21M
BUF
20M
BUF
19M
BUF
18M
BUF
17M
BUF
16M
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
15M
BUF
14M
BUF
13M
BUF
12M
BUF
11M
BUF
10M
BUF
9M
BUF
8M
BUF
7M
BUF
6M
BUF
5M
BUF
4M
BUF
3M
BUF
2M
BUF
1M
BUF
0M
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 25-12. Interrupt Masks 1 Register (CANx_IMASK1)
Table 25-13. CANx_IMASK1 Field Descriptions
Field
Description
BUFnM
Message Buffer n Mask. Enables or disables the respective FlexCAN message buffer (MB31 to MB0)
Interrupt.
0 The corresponding buffer Interrupt is disabled
1 The corresponding buffer Interrupt is enabled
Note: Setting or clearing a bit in the CANx_IMASK1 register can assert or negate an interrupt request,
respectively.