BAT32G1x9 user manual | Chapter 22 CAN control
886 / 1149
Rev.1.02
22.7.2
CAN Global Module Control Register (CnGMCTRL).
The CnGMCTRL register is used to control the operation of the CAN module.
Figure22-25. CAN Global Module Control Register Format
(CnGMCTRL) (1/2
).
(a) read
(a) write
(a) read
MBON
Message cache registers,
transmit/receive bits
of access to history list registers
0
Disables reads and writes to message cache registers and transmit/receive history list registers
1
Enables reads and writes to packet cache registers and transmit/receive history list registers
Note 1 When the MBON bit is cleared (to 0), the software accesses the packet buffer
( CnMDB0m,CnMDB1m,CnMDB01m,CnMDB2m,
CnMDB3m,CnMDB23m,CnMDB4m,CnMDB5m,CnMDB45m,CnMDB6m,CnMDB7m,CnMD
B67m,CnMDLCm,CnMCONFm,CnMIDLm,CnMIDHm,andCnMCTRLm Or send history or
receive history registers (CnLOPT, CnTGPT, CnLIPT, and CnRGPT) are disabled.
2. This bit is read-only, when MBON is 0 write to it 1, the value of MBON will not change, and
access to the message cache register or register-related transmit history or receive history
remains prohibited.
Note: When the CAN module enters CAN sleep mode/CAN stop mode or GOM bit clear
(to 0), the MBON bit will be cleared (to 0).
When the CAN Sleep Mode/CAN Stop Mode is released or the GOM bit is set, the
MBON bit is set to 1.