Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1218 of 1852
Nov 30, 2020
RX23W Group 36. CAN Module (RSCAN)
36.2.16 Timestamp Register (GTSC)
When the TS[15:0] bits are read, the read value shows the timestamp counter (16-bit free-running counter) value at that
time. The TS[15:0] value is captured when the SOF is detected and then stored in the receive buffer or the FIFO buffer.
The timestamp counter is initialized in global reset mode.
The timestamp counter start timing and stop timing depend on the count source.
When the GCFGL.TSSS value is 0 (PCLK is selected):
The timestamp counter starts counting when the CAN module has transitioned to global operating mode.
This counter stops counting when the CAN module has transitioned to global stop mode or global test mode.
When the GCFGL.TSSS value is 1 (CAN bit time clock is selected):
The timestamp counter starts counting when the corresponding channel has transitioned to channel communication
mode.
This counter stops counting when the corresponding channel has transitioned to channel reset mode or channel halt
mode.
36.2.17 Receive Rule Number Configuration Register (GAFLCFG)
Modify the GAFLCFG register only in global reset mode.
Up to 16 rules can be registered in the receive rule table.
RNC0[4:0] Bits (RSCAN0 Receive Rule Number Set)
These bits are used to set the number of rules to be registered in the channel 0 receive rule table.
Set these bits to a value within a range of 00h to 10h.
Address(es): RSCAN.GTSC 000A 832Eh
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
TS[15:0]
Value after reset:
0000000000000000
Bit Symbol Description Counter Value R/W
b15 to b0 TS[15:0] The timestamp counter value can be read. 0000h to FFFFh R
Address(es): RSCAN.GAFLCFG 000A 8330h
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
——————————— RNC0[4:0]
Value after reset:
0000000000000000
Bit Symbol Bit Name Description R/W
b4 to b0 RNC0[4:0] RSCAN0 Receive Rule Number
Set
Set the number of receive rules of channel 0.
Set these bits to a value within a range of 00h to 10h.
R/W
b15 to b5 Reserved These bits are read as 0. The write value should be 0. R/W