485
Chapter 14
FCAN Interface Function
Preliminary User’s Manual U15839EE1V0UM00
14.3.5 CAN
Module
Registers
(1)
CAN 1 to 4
Note
mask 0 to 3 registers L, H (CxMASKL0 to CxMASKL3, CxMASKH0 to
CxMASKH3) (x = 1 to 4
Note
)
The CxMASKL0 to CxMASKL3, and CxMASKH0 to CxMASKH3 registers specify the four accept-
ance masks for each CAN module x
(x = 1 to 4
Note
).
(For more details refer to chapter 14.2.7 “Mask handling” on page 448).
These registers can be read/written in 8-bit and 16-bit units.
Figure 14-33:
CAN 1 to 4 Mask 0 to 3 Registers L, H
(CxMASKL0 to CxMASKL3, CxMASKH0 to CxMASKH3) (x = 1 to 4)
Note: CAN module 3 and CAN module 4 are available in the derivatives µPD703129 (A) and
µPD703129 (A1) only
Remarks: 1. n = 0 to 3 (mask number)
2. x = 1 to 4 for the derivatives µPD703129(A) and µPD703129(A1).
3. x = 1 to 2 for the derivative µPD703128(A).
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
Offset
Initial
value
CxMASKHn CMIDE
0
0
CMID28 CMID27 CMID26 CMID25 CMID24 CMID23 CMID22 CMID21 CMID20 CMID19 CMID18 CMID17 CMID16
see
undef.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
see
CxMASKLn CMID15 CMID14 CMID13 CMID12 CMID11 CMID10 CMID9 CMID8 CMID7 CMID6 CMID5 CMID4 CMID3 CMID2 CMID1 CMID0
undef.
Bit Position
Bit Name
Function
15
(CxMASKHn)
CMIDE
Sets the CAN module mask option for the identifier type of the receive message.
0: Check identifier type of a received message.
1: Do not check identifier type.
Remark:
When CMIDE is cleared (0), the specified identifier type (standard or
extended) of the message buffer linked to this CAN mask register must
match the identifier type of the received message, in order to accept it for
that message buffer.
12 to 0
(CxMASKHn)
15 to 0
(CxMASKLn)
CMID28 to
CMID0
Sets the CAN module mask option for the corresponding identifier bit (ID28 to ID0) of
the receive message.
0: Check identifier bit of a received message.
1: Do not check identifier bit.
Remarks: 1. When CMIDn is cleared (0), the specified identifier bit of the message
buffer linked to this CAN mask register must match the identifier bit of
the received message, in order to accept it for that message buffer.
2. When a receive message buffer is linked to a mask, always 29 bits of
the specified identifier in the M_IDHm, M_IDLm registers of the mes-
sage buffer are compared with the identifier of the received message,
even if a standard format (11 identifier bits) is set. In case standard for-
mat identifier is selected (IDE = 0) the lower 18 bits in the M_IDm reg-
ister contain a copy of data field bits, so that an address extensions by
means of data field bits is possible.
3. When a mask is exclusively intended for a standard format identifier
the irrelevant mask bits CMID17 to CMID0 have to be set (1).
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......