NEC UPD703116 User Manual page 545

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) CAN message data length registers 00 to 31 (M_DLC00 to M_DLC31)
The M_DLCn register sets the byte count in the data field of CAN message buffer n (n = 00 to 31). When
receiving, the receive data field's byte count is set (to 1).
These registers can be read/written in 8-bit units.
Caution When receiving a remote frame with an extended ID and storing it in the receive message
buffer, the values of DLC3 to DLC0 in the message buffer are cleared to 0 regardless of the
values of DLC3 to DLC0 on the CAN bus.
7
M_DLCn
Note
RFU
RFU
(n = 00 to 31)
Bit position
Bit name
3 to 0
DLC3 to
DLC0
Note RFU (Reserved for Future Use) indicates a reserved bit. Be sure to clear this bit to 0 when writing the
M_DLCn register.
CHAPTER 11 FCAN CONTROLLER
6
5
4
Note
Note
Note
RFU
RFU
Control field data for setting the number of bytes in the data field
DLC3
DLC2
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
1
0
Other than above
User's Manual U14492EJ5V0UD
3
2
1
DLC3
DLC2
DLC1
Function
DLC1
DLC0
Data Length Code of Transmit/Receive
0
0
0
1
1
0
1
1
0
0
0
1
1
0
1
1
0
0
8 bytes regardless of the values of
DLC3 to DLC0
0
Address
Initial value
DLC0
See Table 11-17
Undefined
Message
0 bytes
1 byte
2 bytes
3 bytes
4 bytes
5 bytes
6 bytes
7 bytes
8 bytes
545

Advertisement

Table of Contents
loading

Table of Contents