
MPC5566 Microcontroller Reference Manual, Rev. 2
22-16
Freescale Semiconductor
The meaning of each mask bit is the following:
•
Mask bit = 0: the corresponding incoming ID bit is “don’t care.”
•
Mask bit = 1: the corresponding ID bit is checked against the incoming ID bit, to see if a match
exists.
Note that these masks are used both for standard and extended ID formats. Do not change the value of
mask registers while in normal operation. Locked frames which match a message buffer through a mask
can be transferred into the message buffer (upon release) even if they no longer match.
shows
some examples of ID masking for standard and extended message buffers.
22.3.3.4.1
RX Global Mask (CAN
x
_RXGMASK)
The RX global mask bits are applied to all RX identifiers excluding RX buffers 14 and 15, that have their
specific RX mask registers. Access to this register is unrestricted. Note that CANx_RXGMASK is
unaffected by soft reset (which occurs when CAN_MCR[SOFTRST] asserts).
Table 22-9. Mask Examples for Standard/Extended Message Buffers
Mask ID
Base ID
ID28.................ID18
IDE
Extended ID
ID17......................................ID0
Match
MB2 ID
1 1 1 1 1 1 1 1 0 0 0
0
MB3 ID
1 1 1 1 1 1 1 1 0 0 0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
MB4 ID
0 0 0 0 0 0 1 1 1 1 1
0
MB5 ID
0 0 0 0 0 0 1 1 1 0 1
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
MB14 ID
1 1 1 1 1 1 1 1 0 0 0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
RX Global Mask
1 1 1 1 1 1 1 1 1 1 0
1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1
RX Msg in
1
1
Match for Extended Format (message buffer 3).
1 1 1 1 1 1 1 1 0 0 1
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
3
RX Msg in
2
2
Match for Standard Format. (message buffer 2).
1 1 1 1 1 1 1 1 0 0 1
0
2
RX Msg in
3
3
Mismatch for message buffer 3 because of ID0.
1 1 1 1 1 1 1 1 0 0 1
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0
RX Msg in
4
4
Mismatch for message buffer 2 because of ID28.
0 1 1 1 1 1 1 1 0 0 0
0
RX Msg in
5
5
Mismatch for message buffer 3 because of ID28, match for message buffer 14 (uses RX14MASK).
0 1 1 1 1 1 1 1 0 0 0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
14
RX 14 Mask
0 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0
RX Msg in
6
6
Mismatch for message buffer 14 because of ID27 (uses RX14MASK).
1 0 1 1 1 1 1 1 0 0 0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
RX Msg in
7
7
Match for message buffer 14 (uses RX14MASK).
0 1 1 1 1 1 1 1 0 0 0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
14
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...