NEC V850E/IA1 mPD703116 User Manual page 585

32-bit single-chip microcontrollers
Hide thumbs Also See for V850E/IA1 mPD703116:
Table of Contents

Advertisement

(21) CAN1 definition register (C1DEF)
The C1DEF register is used to define the operation of the CAN module.
This register can be read/written in 16-bit units.
Cautions 1. Both bitwise writing and direct writing to the C1DEF register are prohibited. Attempts to
write directly to this register may result in operation faults, so be sure to follow the
sequence described in 11.9 Cautions on Bit Set/Clear Function.
2. When writing to the C1DEF register, set or clear bits according to the register
configuration during a write operation.
15
14
13
12
C1DEF
0
0
0
0
(Read)
15
14
13
12
C1DEF
set
set
set
set
(Write)
DGM
MOM
SSHT
PBB
Note xxxx: CAN message buffer registers can be allocated to the xxxx addresses as programmable
peripheral I/O registers. Note, however, that the xxxx addresses cannot be changed after being
set.
m = 2, 6, A, E
(a) Read (1/3)
Bit Position
Bit Name
7
DGM
CHAPTER 11 FCAN CONTROLLER
11
10
9
8
7
6
0
0
0
0
DGM
MOM
11
10
9
8
7
6
clear
clear
0
0
0
0
DGM
MOM
Specifies diagnostic processing mode.
0: Only when receiving, valid messages received using message buffer used for
diagnostic processing mode (Bits MT2 to MT0 of M_CONF register = 111)
1: Only when receiving, valid messages received using normal operation mode.
The diagnostic processing mode (MOM bit = 1) is used for CAN baud rate detection and for
diagnostic purposes. When this mode has been set, the following operations are
performed.
• When the VALID bit = 1, it indicates that the current receive operation is valid.
• Setting the DGM bit confirms whether or not valid data has been stored in the message
buffer used for diagnostic processing mode, the same as for normal operation mode.
User's Manual U14492EJ3V0UD
5
4
3
2
1
0
SSHT
PBB
BERR
VALID
WAKE
OVR
5
4
3
2
1
0
clear
clear
clear
clear
clear
clear
SSHT
PBB
BERR
VALID
WAKE
OVR
Function
(1/4)
Address
Initial value
Note
xxxxmC52H
0000H
585

Advertisement

Table of Contents
loading

Table of Contents