BAT32G1x9 user manual | Chapter 22 CAN control
896 / 1149
Rev.1.02
Figure 22-30 Format of CAN Module Control Register (C0CTRL) (3/4)
PSMODE1 PSMODE0
Power-saving mode
0
0
No power saving mode is selected
0
1
CAN sleep mode
1
0
Set Prohibited
1
1
CAN stop mode
Note 1
Transitions to or wake up from CAN stop mode are required through CAN sleep mode.
Requests to go in and out of the CAN stop mode directly are ignored.
2. After exiting the power saving mode, the MBON flag of the CnGMCTRL must be
checked before the message buffer is accessed.
3. The request for CAN sleep mode remains pending until the software cancels or enters the
appropriate bus condition (bus idle). The software can check the actual status by reading
the PSMODE
OPMODE2 OPMODE1 OPMODE0
Mode of operation
0
0
0
There is no operating mode selected (CAN
mode is in initialization mode).
0
0
1
Normal mode of operation
0
1
0
There is a normal operating mode of automatic block transfer
(normal
operating mode with
ABT).
0
1
1
Receive mode only
1
0
0
Single-shot mode
1
0
1
Self-test mode
Other values
Prohibit settings
Note: It may take some time to move to initialization mode or power saving mode. Be sure to verify
that the schema change was successful by reading before continuing.
Note OpMODE [2:0] bits in CAN sleep and CAN stop modes are read-only.
(b) Write
SetCCERC
Set the CCERC
bit
1
Set the CCERC
bit to 1
0
CCERC remains
SetAL
ClearAL
Set the AL
bit
0
1
AL is cleared 0
1
0
AL is set to 1
Other values
The AL remains unchanged