BAT32G1x9 user manual | Chapter 22 CAN control
864 / 1149
Rev.1.02
22.5.2
Register access type
The access types of the control registers of the CAN controller are shown in the following table
where the base address is: CAN0 0x40045400; CAN1 0x40045800
;
CAN2 0x40046400
BAT32G139: n=0.1 BAT32G179: n=0.1.2
Table22-16. Register Access Type (1/9)
Offset
address
Register name
Symbol
Read/
write
Bit operating unit
The default value
1
8
16
0x000H
The CAN global module controls registers
CnGMCTRL
Read/
write
0000H
0x006H
CAN global automatic block transfer
control register
CnGMABT
0000H
0x008H
CAN global automatic block transfer
delay setting
CnGMABTD
00H
0x002H
CAN global module clock selection register
CnGMCS
0FH
0x040H
CAN module mask 1 register
CnMASK1L
There is no
definition
0x042H
CnMASK1H
There is no
definition
0x044H
CAN module masks 2 registers
CnMASK2L
There is no
definition
0x046H
CnMASK2H
There is no
definition
0x048H
The CAN module masks 3 registers
CnMASK3L
There is no
definition
0x04AH
CnMASK3H
There is no
definition
0x04CH
The CAN module masks 4 registers
CnMASK4L
There is no
definition
0x04EH
CnMASK4H
There is no
definition
0x050H
THE CAN module controls the registers
CnCTRL
0000H
0x052H
THE LAST ERROR CODE REGISTER FOR
THE CAN MODULE
CnLEC
00H
0x053H
CAN module information registers
CnINFO
read
00H
0x054H
CAN module error count register
CnERC
0000H
0x056H
CAN module interrupt enable register
Miss
Read/
write
0000H
0x058H
CAN module interrupt status register
CnINTS
0000H
0x05AH
CAN module bit rate scaling register
CnBRP
FFH
0x05CH
CAN module bit rate register
CnBTR
370FH
0x05EH
The CAN module finally enters the pointer
register
CnLIPT
read
There is no
definition
0x060H
The CAN module receives the history list
register
CnRGPT
Read/
write
xx02H
0x062H
The CAN module finally outputs the pointer
register
CnLOPT
read
There is no
definition
0x064H
The CAN module sends a history list register CnTGPT
Read/
write
xx02H
0x066H
CAN module timestamp register
CnTS
0000H