Can Mask Registers - Renesas M32R/ECU Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

13

13.2.12 CAN Mask Registers

CAN0 Global Mask Register Standard ID0 (C0GMSKS0)
CAN0 Local Mask Register A Standard ID0 (C0LMSKAS0)
CAN0 Local Mask Register B Standard ID0 (C0LMSKBS0)
CAN1 Global Mask Register Standard ID0 (C1GMSKS0)
CAN1 Local Mask Register A Standard ID0 (C1LMSKAS0)
CAN1 Local Mask Register B Standard ID0 (C1LMSKBS0)
b0
1
2
0
0
0
b
Bit Name
0–2
No function assigned. Fix to "0".
3–7
SID0M–SID4M
(Standard mask ID0–standard mask ID4)
CAN0 Global Mask Register Standard ID1 (C0GMSKS1)
CAN0 Local Mask Register A Standard ID1 (C0LMSKAS1)
CAN0 Local Mask Register B Standard ID1 (C0LMSKBS1)
CAN1 Global Mask Register Standard ID1 (C1GMSKS1)
CAN1 Local Mask Register A Standard ID1 (C1LMSKAS1)
CAN1 Local Mask Register B Standard ID1 (C1LMSKBS1)
b8
9
10
SID5M
0
0
0
b
Bit Name
8–9
No function assigned. Fix to "0".
10–15
SID5M–SID10M
(Standard mask ID5–standard mask ID10)
Three mask registers are used in acceptance filtering: global mask register, local mask register A and local
mask register B. The global mask register is used for message slots 0-13, while local mask registers A and B are
used for message slots 14 and 15, 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 can only be modified when none of slots 0-13 have receive requests set.
• The local mask register A can only be modified when slot 14 does not have a receive request set.
• The local mask register B can only be modified when slot 15 does not have a receive request set.
3
4
5
6
SID0M SID1M SID2M SID3M SID4M
0
0
0
0
11
12
13
14
SID6M
SID7M SID8M SID9M SID10M
0
0
0
0
13.2 CAN Module Related Registers
b7
0
Function
0: ID not checked
1: ID checked
b15
0
Function
0: ID not checked
1: ID checked
13-48
CAN MODULE
<Address: H'0080 1028>
<Address: H'0080 1030>
<Address: H'0080 1038>
<Address: H'0080 1428>
<Address: H'0080 1430>
<Address: H'0080 1438>
<After reset: H'00>
R
0
R
<Address: H'0080 1029>
<Address: H'0080 1031>
<Address: H'0080 1039>
<Address: H'0080 1429>
<Address: H'0080 1431>
<Address: H'0080 1439>
<After reset: H'00>
R
0
R
32180 Group User's Manual (Rev.1.0)
W
0
W
W
0
W

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents