766
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
18.5.3 CAN registers overview
(1)
CAN module #
n
registers
The following table lists the address offsets to the CAN #n register base address: CnRBaseAddr
The addresses in the following table denote the address offsets to the CAN #n message buffer base
address: CnMBaseAddr, with m being the message buffer number.
Example
CAN0, message buffer m = 14 = E
H
, byte 6 C0MDATA614 has the address E
H
x 20
H
+ 6
H
+
C0MBaseAddr
Note:
The message buffer register number m in the register symbols has 2 digits, for example,
C0MDATA01m = C0MDATA0100 for m = 0.
Table 18-19:
CAN0 global and module registers
Address off-
set
Register name
Symbol
R/W
Access
After reset
1-bit
8-bit
16-bit
000H
CAN #n global control register
CnGMCTRL
R/W
√
0000H
002H
CAN #n global clock selection register
CnGMCS
√
0FH
006H
CAN #n global automatic block
transmission register
CnGMABT
√
0000H
008H
CAN #n global automatic block
transmission delay register
CnGMABTD
√
00H
040H
CAN #n module mask 1 register
CnMASK1L
√
Undefined
042H
CnMASK1H
√
Undefined
044H
CAN #n module mask 2 register
CnMASK2L
√
Undefined
046H
CnMASK2H
√
Undefined
048H
CAN #n module mask 3 register
CnMASK3L
√
Undefined
04AH
CnMASK3H
√
Undefined
04CH
CAN #n module mask 4 register
CnMASK4L
√
Undefined
04EH
CnMASK4H
√
Undefined
050H
CAN #n module control register
CnCTRL
√
0000H
052H
CAN #n module last error code register
CnLEC
√
00H
053H
CAN #n module information register
CnINFO
R
√
00H
054H
CAN #n module error counter register
CnERC
√
0000H
056H
CAN #n module interrupt enable register
CnIE
R/W
√
0000H
058H
CAN #n module interrupt status register
CnINTS
√
0000H
05AH
CAN #n module bit-rate prescaler register
CnBRP
√
FFH
05CH
CAN #n module bit-rate register
CnBTR
√
370FH
05EH
CAN #n module last in-pointer register
CnLIPT
R
√
Undefined
060H
CAN #n module receive histor y list register
CnRGPT
R/W
√
xx02H
062H
CAN #n module last out-pointer register
CnLOPT
R
√
Undefined
064H
CAN #n module transmit histor y list
register
CnTGPT
R/W
√
xx02H
066H
CAN #n module time stamp register
CnTS
√
0000H
Содержание V850E/PH2
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00...
Страница 16: ...16 User s Manual U16580EE3V1UD00...
Страница 28: ...28 User s Manual U16580EE3V1UD00...
Страница 32: ...32 User s Manual U16580EE3V1UD00...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only User s Manual U16580EE3V1UD00 MEMO...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00...
Страница 1053: ......