683
CAN Controller (CAN)
Chapter 19
Preliminary User’s Manual U17566EE1V2UM00
(6)
CnCTRL - CANn module control register
The CnCTRL register is used to control the operation mode of the CAN
module.
(a) Read
Note
1.
The RSTAT bit is set to 1 under the following conditions (timing)
•
The SOF bit of a receive frame is detected
•
On occurrence of arbitration loss during a transmit frame
2.
The RSTAT bit is cleared to 0 under the following conditions (timing)
•
When a recessive level is detected at the second bit of the interframe
space
•
On transition to the initialization mode at the first bit of the interframe
space
Note
1.
The TSTAT bit is set to 1 under the following conditions (timing)
•
The SOF bit of a transmit frame is detected
•
The first bit of an error flag is detected during a transmit frame
2.
The TSTAT bit is cleared to 0 under the following conditions (timing)
•
During transition to bus-off status
•
On occurrence of arbitration loss in transmit frame
•
On detection of recessive level at the second bit of the interframe space
•
On transition to the initialization mode at the first bit of the interframe
space
After reset: 0000H
R/W
Address: CnCTRL <CnRBaseAddr> + 050
H
15
14
13
12
11
10
9
8
CnCTRL
0
0
0
0
0
0
RSTAT
TSTAT
7
6
5
4
3
2
1
0
CCERC
AL
VALID
PSMODE
1
PSMODE
0
OPMODE
2
OPMODE
1
OPMODE
0
RSTAT
Reception status bit
0
Reception is stopped.
1
Reception is in progress.
TSTAT
Transmission status bit
0
Transmission is stopped.
1
Transmission is in progress.
electronic components distributor