11.4.11 CANIFnMSK2 Register [reset = 0xE0FF]
CAN IF1 Mask 2 (CANIF1MSK2), offset 0x02C
CAN IF2 Mask 2 (CANIF2MSK2), offset 0x08C
This register holds extended mask information that accompanies the CANIFnMSK1 register.
CANIFnMSK2 is shown in Figure 11-15 and described in Table 11-18.
Return to Summary Table.
Figure 11-15 CANIFnMSK2 Register
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
RESERVED |
R-0x0 |
|
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
RESERVED |
R-0x0 |
|
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
MXTD |
MDIR |
RESERVED |
MSK |
R/W-0x1 |
R/W-0x1 |
R-0x1 |
R/W-0xFF |
|
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
MSK |
R/W-0xFF |
|
Table 11-18 CANIFnMSK2 Register Field Descriptions
Bit |
Field |
Type |
Reset |
Description |
31-16 |
RESERVED |
R |
0x0 |
|
15 |
MXTD |
R/W |
0x1 |
Mask Extended Identifier.
0x0 = The extended identifier bit (XTD in the CANIFnARB2 register) has no effect on the acceptance filtering.
0x1 = The extended identifier bit XTD is used for acceptance filtering.
|
14 |
MDIR |
R/W |
0x1 |
Mask Message Direction.
0x0 = The message direction bit (DIR in the CANIFnARB2 register) has no effect for acceptance filtering.
0x1 = The message direction bit DIR is used for acceptance filtering.
|
13 |
RESERVED |
R |
0x1 |
|
12-0 |
MSK |
R/W |
0xFF |
Identifier Mask. When using a 29-bit identifier, these bits are used for bits [28:16] of the ID. The MSK field in the CANIFnMSK1 register are used for bits [15:0] of the ID. When using an 11-bit identifier, MSK[12:2] are used for bits [10:0] of the ID.
0x0 = The corresponding identifier field (ID) in the message object cannot inhibit the match in acceptance filtering.
0x1 = The corresponding identifier field (ID) is used for acceptance filtering.
|