Motorola ColdFire MCF5281 User Manual
Page 494

FlexCAN
25-24
Freescale Semiconductor
25.5.7.1
Receive Mask Registers (RXGMASK, RX14MASK, RX15MASK)
The Rx global mask register (RXGMASK) is composed of 4 bytes. The mask bits are applied to all
Rx-Identifiers excluding Rx-buffers 14-15, that have their specific Rx-mask registers (RX14MASK and
RX15MASK).
Table 25-15. Mask examples for Normal/Extended Messages
Base ID
ID28.................ID18
I
D
E
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_Mas
k
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 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
1
1
Match for Extended Format (MB3).
Rx_Msg in
1 1 1 1 1 1 1 1 0 0 1
0
2
2
2
Match for Standard Format. (MB2).
Rx_Msg in
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
3
3
Un-Match for MB3 because of ID0.
Rx_Msg in
0 1 1 1 1 1 1 1 0 0 0
0
4
4
Un-Match for MB2 because of ID28.
Rx_Msg in
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
5
5
Un-Match for MB3 because of ID28, Match for MB14.
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
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
6
6
Un-Match for MB14 because of ID27.
Rx_Msg in
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
7
7
Match for MB14.
MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3