CHAPTER 11 FCAN CONTROLLER
581
User’s Manual U14492EJ3V0UD
(20) CAN1 control register (C1CTRL)
The C1CTRL register is used to control 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 C1CTRL 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 C1CTRL register, set or clear bits according to the register
configuration during a write operation.
3. When canceling CAN stop mode, CAN sleep mode must be canceled at the same time.
(1/4)
Address
xxxxmC50H
Note
Initial value
0101H
C1CTRL
(Read)
14
set
DLEVR
13
set
DLEVT
12
set
OVM
2
clear
STOP
3
clear
TMR
4
clear
OVM
5
clear
DLEVT
6
clear
DLEVR
7
0
8
set
INIT
9
set
SLEEP
10
set
STOP
11
set
TMR
15
0
1
clear
SLEEP
0
clear
INIT
C1CTRL
(Write)
14
TECS0
13
RECS1
12
RECS0
2
STOP
3
TMR
4
OVM
5
DLEVT
6
DLEVR
7
0
8
ISTAT
9
RSTAT
10
TSTAT
11
BOFF
15
TECS1
1
SLEEP
0
INIT
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
This is the transmit error counter status flag.
TECS1
TECS0
Status of Transmit Error Counter
0
0
Transmit error counter value < 96
0
1
Transmit error counter value = 96 to 127 (warning level)
1
0
Not used
1
1
Transmit error counter value
≥
128 (error passive)
15, 14
TECS1,
TECS0
This is the receive error counter status flag.
RECS1
RECS0
Status of Receive Error Counter
0
0
Receive error counter value < 96
0
1
Receive error counter value = 96 to 127 (warning level)
1
0
Not used
1
1
Receive error counter value
≥
128 (error passive)
13, 12
RECS1,
RECS0
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...