CHAPTER 11 FCAN CONTROLLER
585
User’s Manual U14492EJ3V0UD
(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.
(1/4)
Address
xxxxmC52H
Note
Initial value
0000H
C1DEF
(Read)
14
set
MOM
13
set
SSHT
12
set
PBB
2
clear
VALID
3
clear
BERR
4
clear
PBB
5
clear
SSHT
6
clear
MOM
7
clear
DGM
8
0
9
0
10
0
11
0
15
set
DGM
1
clear
WAKE
0
clear
OVR
C1DEF
(Write)
14
0
13
0
12
0
2
VALID
3
BERR
4
PBB
5
SSHT
6
MOM
7
DGM
8
0
9
0
10
0
11
0
15
0
1
WAKE
0
OVR
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
Function
7
DGM
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.
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...