773
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
18.7 Control
Registers
(1)
CnGMCTRL - CANn global control register
The CnGMCTRL register is used to control the operation of the CAN module.
(a) Read
Cautions: 1. While the MBON bit is cleared (to 0), software access to the message buffers
(CnMDATA0m, CnMDATA1m, CnMDATA01m, CnMDATA2m, CnMDATA3m,
CnMDATA23m, CnMDATA4m, CnMDATA5m, CnMDATA45m, CnMDATA6m,
CnMDATA7m, CnMDATA67m, CnMDLCm, CnMCONFm, CnMIDLm, CnMIDHm, and
CnMCTRLm), or registers related to transmit history or receive history (CnLOPT,
CnTGPT, CnLIPT, and CnRGPT) is disabled.
2. This bit is read-only. Even if 1 is written to the MBON bit while it is 0, the value of
the MBON bit does not change, and access to the message buffer registers, or
registers related to transmit history or receive history remains disabled.
Remark:
The MBON bit is cleared (to 0) when the CAN module enters CAN sleep mode / CAN stop
mode, or when the GOM bit is cleared (to 0).
The MBON bit is set (to 1) when the CAN sleep mode / CAN stop mode is released, or
when the GOM bit is set (to 1).
Caution:
To request forced shut down, the GOM bit must be cleared to 0 in a subsequent,
immediately following access after the EFSD bit has been set to 1. If access to
another register (including reading the CnGMCTRL register) is executed without
clearing the GOM bit immediately after the EFSD bit has been set to 1, the EFSD bit is
forcibly cleared to 0, and the forced shut down request is invalid.
Caution:
The GOM can be cleared only in the initialization mode or immediately after EFSD bit
is set (to 1).
After reset: 0000H
R/W
Address: <CnRBaseAddr> + 000
H
15
14
13
12
11
10
9
8
CnGMCTRL
MBON
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
0
0
0
0
0
0
EFSD
GOM
MBON
Bit enabling access to message buffer register, transmit/receive history registers
0
Write access and read access to the message buffer register and the transmit/receive
history list registers is disabled.
1
Write access and read access to the message buffer register and the transmit/receive
history list registers is enabled.
EFSD
Bit enabling forced shut down
0
Forced shut down by GOM bit = 0 disabled.
1
Forced shut down by GOM bit = 0 enabled.
GOM
Global operation mode bit
0
CAN module is disabled from operating.
1
CAN module is enabled to operate.
Summary of Contents for MuPD70F3187
Page 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Page 16: ...16 User s Manual U16580EE3V1UD00 ...
Page 28: ...28 User s Manual U16580EE3V1UD00 ...
Page 32: ...32 User s Manual U16580EE3V1UD00 ...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Page 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Page 1053: ......