NEC UPD703116 User Manual page 547

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(3) CAN message control registers 00 to 31 (M_CTRL00 to M_CTRL31)
The M_CTRLn register is used to set the frame format of the data field in messages stored in CAN message
buffer n (n = 00 to 31).
These registers can be read/written in 8-bit units.
7
M_CTRLn
RMDE1
RMDE0
(n = 00 to 31)
Bit position
Bit name
7
RMDE1
6
RMDE0
Notes 1.
RFU (Reserved for Future Use) indicates a reserved bit. Be sure to clear this bit to 0 when writing
the M_DLCn register.
2.
The value of the r1 bit on the CAN bus is set during reception.
3.
The value of the r0 bit on the CAN bus is set during reception.
Remark
DN:
Bit 2 of M_STATn register (see 11.10 (8) CAN message status registers 00 to 31
(M_STAT00 to M_STAT31))
CHAPTER 11 FCAN CONTROLLER
6
5
4
ATS
IE
MOVR
Specifies operation of the DN flag when a remote frame is received on a transmit message
buffer.
0: DN flag not set when remote frame is received
1: DN flag set when remote frame is received
Cautions 1. When the RMDE1 bit is set, the setting of the RMDE0 bit is irrelevant.
2. If a remote frame arrives at the transmit message buffer when the
RMDE1 bit has not been set, the CPU is not notified, nor are other
operations performed.
Specifies setting/clearing status of remote frame auto acknowledge function.
0: Remote frame auto acknowledge function cleared
1: Remote frame auto acknowledge function set
Cautions 1. The RMDE0 bit's setting is used only for transmit messages.
2. When the RTR bit has been set (to 1) (when the receive message or
transmit message has a remote frame), the RMDE0 bit is processed as
RMDE0 = 0.
transmission of a remote frame draws a 100% bus load due to
reception of the same remote frame).
User's Manual U14492EJ5V0UD
3
2
1
Notes 1, 2
Notes 1, 3
RFU
RFU
Function
This prevents a worst-case scenario (in which
0
Address
Initial value
RTR
See Table 11-18
Undefined
(1/2)
547

Advertisement

Table of Contents
loading

Table of Contents