R01UH0823EJ0100 Rev.1.00
Page 1210 of 1823
Jul 31, 2019
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
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
TS[15:0]
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
Symbol
Description
Counter Value
R/W
b15 to b0
The timestamp counter value can be read.
0000h to FFFFh
R
Address(es): RSCAN.GAFLCFG 000A 8330h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
—
—
—
—
—
—
RNC0[4:0]
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b4 to b0
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