801
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
(20)
CnMDLCm - CANn message data length register m
The CnMDLCm register is used to set the number of bytes of the data field of a message buffer.
Note:
The data and DLC value actually transmitted to CAN bus are as follows.
Caution
1. Be sure to set bits 7 to 4 to 0000B.
2. Receive data is stored in as many CnMDATAxm register as the number of bytes (however, the upper
limit is 8) corresponding to DLC of the received frame. The CnMDATAxm register in which no data is
stored is undefined.
After reset: 0000xxxxB
R/W
Address: refer to
7
6
5
4
3
2
1
0
CnMDLCm
0
0
0
0
MDLC3
MDLC2
MDLC1
MDLC0
MDLC3
MDLC2
MDLC1
MDLC0
Data length of transmit/receive message
0
0
0
0
0 bytes
0
0
0
1
1 byte
0
0
1
0
2 bytes
0
0
1
1
3 bytes
0
1
0
0
4 bytes
0
1
0
1
5 bytes
0
1
1
0
6 bytes
0
1
1
1
7 bytes
1
0
0
0
8 bytes
1
0
0
1
Setting prohibited
(If these bits are set during transmission, 8-byte data is transmitted
regardless of the set DLC value when a data frame is transmitted.
However, the DLC actually transmitted to the CAN bus is the DLC
value set to this register.)
Note
1
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
1
1
0
1
1
1
1
Type of transmit frame
Length of transmit data
DLC transmitted
Data frame
Number of bytes specified by DLC
(However, 8 bytes if DLC
≥
8)
MDLC3 to MDLC0 bits
Remote frame
0 bytes
Summary of Contents for V850E/PH2
Page 6: ...6 Preface User s Manual U16580EE3V1UD00...
Page 16: ...16 User s Manual U16580EE3V1UD00...
Page 28: ...28 User s Manual U16580EE3V1UD00...
Page 32: ...32 User s Manual U16580EE3V1UD00...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO...
Page 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only User s Manual U16580EE3V1UD00 MEMO...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO...
Page 1052: ...1052 User s Manual U16580EE3V1UD00...
Page 1053: ......