13.2 CAN Module Related Registers
CAN MODULE
13
13-76
32192/32195/32196 Group Hardware Manual
Rev.1.10 REJ09B0123-0110 Apr.06.07
13.2.15 CAN Mask Registers
CAN0 Global Mask Register A Standard ID0 (C0GMSKAS0)
<Address: H’0080 1020>
CAN0 Global Mask Register B Standard ID0 (C0GMSKBS0)
<Address: H’0080 1028>
CAN0 Local Mask Register A Standard ID0 (C0LMSKAS0)
<Address: H’0080 1030>
CAN0 Local Mask Register B Standard ID0 (C0LMSKBS0)
<Address: H’0080 1038>
CAN1 Global Mask Register A Standard ID0 (C1GMSKAS0)
<Address: H’0080 1420>
CAN1 Global Mask Register B Standard ID0 (C1GMSKBS0)
<Address: H’0080 1428>
CAN1 Local Mask Register A Standard ID0 (C1LMSKAS0)
<Address: H’0080 1430>
CAN1 Local Mask Register B Standard ID0 (C1LMSKBS0)
<Address: H’0080 1438>
123456
b7
b0
SID0M
SID1M
SID2M
SID3M
SID4M
00000
0
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
0–2
No function assigned. Fix to "0."
00
3–7
SID0M–SID4M
0: ID not checked
R
W
(Standard mask ID0–standard mask ID4)
1: ID checked
CAN0 Global Mask Register A Standard ID1 (C0GMSKAS1)
<Address: H’0080 1021>
CAN0 Global Mask Register B Standard ID1 (C0GMSKBS1)
<Address: H’0080 1029>
CAN0 Local Mask Register A Standard ID1 (C0LMSKAS1)
<Address: H’0080 1031>
CAN0 Local Mask Register B Standard ID1 (C0LMSKBS1)
<Address: H’0080 1039>
CAN1 Global Mask Register A Standard ID1 (C1GMSKAS1)
<Address: H’0080 1421>
CAN1 Global Mask Register B Standard ID1 (C1GMSKBS1)
<Address: H’0080 1429>
CAN1 Local Mask Register A Standard ID1 (C1LMSKAS1)
<Address: H’0080 1431>
CAN1 Local Mask Register B Standard ID1 (C1LMSKBS1)
<Address: H’0080 1439>
9
10
11
12
13
14
b15
b8
SID6M
SID5M
SID7M
SID8M
SID9M SID10M
000000
0
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
8–9
No function assigned. Fix to "0."
00
10–15
SID5M–SID10M
0: ID not checked
R
W
(Standard mask ID5–standard mask ID10)
1: ID checked
Four mask registers are used in acceptance filtering: global mask register A, global mask register B, local mask
register A and local mask register B. The global mask registers A and B are used for message slots 0-15 and
16-29, while local mask registers A and B are used for message slots 30 and 31, respectively.
If any bit in this register is set to "0," the corresponding ID bit is masked (assumed to have matched) during
acceptance filtering.
If any bit in this register is set to "1," the corresponding ID bit is compared with the receive ID during
acceptance filtering and when it matches the ID set in the message slot, the received data is stored in it.
Notes: SID0M corresponds to the MSB of the standard ID.
The global mask register A can only be modified when none of slots 0-15 have receive requests set.
The global mask register B can only be modified when none of slots 16-29 have receive requests set.
The local mask register A can only be modified when slot 30 does not have a receive request set.
The local mask register B can only be modified when slot 31 does not have a receive request set.