CHAPTER 11 FCAN CONTROLLER
579
User’s Manual U14492EJ3V0UD
(19) CAN1 address mask a registers L and H (C1MASKLa and C1MASKHa)
The C1MASKLa and C1MASKHa registers are used to extend the number of receivable messages by
masking part of the message’s identifier (ID) and then ignoring the masked parts (a = 0 to 3).
These registers can be read/written in 16-bit units.
Cautions 1. When the receive message buffer is linked to the C1MASKLa and C1MASKHa registers,
regardless of whether the ID in the receive message buffer is a standard ID (11 bits) or
extended ID (29 bits), set all the 32-bit values of the C1MASKLa and C1MASKHa
registers (a = 0 to 3).
2. When the C1MASKLa and C1MASKHa registers are linked to a message buffer for
standard ID, the lower 18 bits of the data field in the data frame are also automatically
compared. Therefore, if it is not necessary to compare the lower 18 bits (i.e., to mask
the lower 18 bits), set the CMID17 to CMID0 bits to 1 (a = 0 to 3).
Address
See
Table 11-23
Initial value
Undefined
14
0
13
0
12
CMID
28
2
CMID
18
3
CMID
19
4
CMID
20
5
CMID
21
6
CMID
22
7
CMID
23
8
CMID
24
9
CMID
25
10
CMID
26
11
CMID
27
15
CMIDE
1
CMID
17
0
CMID
16
C1MASKHa
(a = 0 to 3)
Address
See
Table 11-23
Initial value
Undefined
14
CMID
14
13
CMID
13
12
CMID
12
2
CMID
2
3
CMID
3
4
CMID
4
5
CMID
5
6
CMID
6
7
CMID
7
8
CMID
8
9
CMID
9
10
CMID
10
11
CMID
11
15
CMID
15
1
CMID
1
0
CMID
0
C1MASKLa
(a = 0 to 3)
Bit Position
Bit Name
Function
15
(C1MASKHa)
CMIDE
Sets mask for identifier (ID) format.
0: ID format (standard or extended) checked
1: ID format (standard or extended) not checked
12 to 0
(C1MASKHa)
15 to 0
(C1MASKLa)
CMID28 to
CMID16
(C1MASKHa)
CMID15 to
CMID0
(C1MASKLa)
Sets mask for identifier (ID) bit.
0: ID bit in message buffer linked to bits CMID28 to CMID0 compared with received ID
bit
1: ID bit in message buffer linked to bits CMID28 to CMID0 not compared (ID bit
masked) with received ID bit
Remark
n = 0 to 3