Chapter 22 FlexCAN
MPC5602P Microcontroller Reference Manual, Rev. 4
552
Freescale Semiconductor
22.3.4.4
Rx Global Mask register (RXGMASK)
This register is provided for legacy support and for low cost MCUs that do not have the individual masking
per Message Buffer feature. For MCUs supporting individual masks per MB, setting the BCC bit in the
MCR causes the RXGMASK register to have no effect on the module operation. For MCUs not supporting
individual masks per MB, this register is always effective.
RXGMASK is used as an acceptance mask for all Rx MBs, excluding MBs 14
–
15, which have individual
mask registers. When the FEN bit in the MCR is set (FIFO enabled), the RXGMASK also applies to all
elements of the ID filter table, except elements 6–7, which have individual masks.
The contents of this register must be programmed while the module is in Freeze Mode, and must not be
modified when the module is transmitting or receiving frames.
22.3.4.5
Rx 14 Mask (RX14MASK)
This register is provided for legacy support and for low cost MCUs that do not have the individual masking
per Message Buffer feature. For MCUs supporting individual masks per MB, setting the BCC bit in the
MCR causes the RX14MASK register to have no effect on the module operation.
RX14MASK is used as an acceptance mask for the Identifier in Message Buffer 14. When the FEN bit in
the MCR is set (FIFO enabled), the RX14MASK also applies to element 6 of the ID filter table. This
Table 22-14. TIMER field descriptions
Field
Description
TIMER
Holds the value for this timer.
Address: Base + 0x0010
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
MI31 MI30 MI29 MI28 MI27 MI26 MI25 MI24 MI23 MI22 MI21 MI20 MI19 MI18 MI17 MI16
W
Reset
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
MI15 MI14 MI13 MI12 MI11 MI10
MI9
MI8
MI7
MI6
MI5
MI4
MI3
MI2
MI1
MI0
W
Reset
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Figure 22-7. Rx Global Mask register (RXGMASK)
Table 22-15. RXGMASK field description
Field
Description
0–31
MI31–MI0
Mask Bits
For normal Rx MBs, the mask bits affect the ID filter programmed on the MB. For the Rx FIFO, the
mask bits affect all bits programmed in the filter table (ID, IDE, RTR).
0 The corresponding bit in the filter is “don’t care.”
1 The corresponding bit in the filter is checked against the one received.