13
13-19
Ver.0.10
13.2.5 CAN Time Stamp Count Register
■
CAN0 Time Stamp Count Register (CAN0TSTMP)
<Address:H'0080 1008>
<When reset:H'0000>
D
Bit Name
Function
R
W
0-15
CANSTMP
16-bit counter value
–
The CAN module contains a 16-bit counter. The count period can be chosen to be the CAN bus bit
period divided by 1, 2, 3, or 4 by setting the CAN Control Register (CAN0CNT)'s TSP (Time Stamp
Prescaler) bits.
When the CAN module finishes transmitting or receiving, it captures the counter value and stores it
in a message slot. The counter is made to start counting by clearing the CAN Control Register
(CAN0CNT)'s RST bit to 0.
Note 1: The protocol control unit is reset and the counter is initialized to H'0000 by setting the CAN
Control Register (CAN0CNT)'s RST (CAN Reset) bit to 1. Also, the counter can be
initialized to H'0000 while the CAN module is operating by setting TSR (Time Stamp
Counter Reset) bit to 1.
Note 2: During loopback mode, if an ID-matching slot exists, the CAN module stores the time
stamp value in the corresponding slot when it finished receiving. (No time stamp value is
stored this way when the CAN module finished transmitting.)
D0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
D15
CANTSTMP
CAN MODULE
13.2 CAN Module Related Registers
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...