RX610 Group
15. 16-Bit Timer Pulse Unit (TPU)
R01UH0032EJ0120 Rev.1.20
Page 481 of 1006
Feb 20, 2013
15.2.5
Timer Status Register (TSR)
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
1
1
x
x
x
x
x
x
TCFD
—
—
—
—
—
—
—
Addresses: TPU0.TSR 0008 8115h, TPU1.TSR 0008 8125h, TPU2.TSR 0008 8135h
TPU3.TSR 0008 8145h, TPU4.TSR 0008 8155h, TPU5.TSR 0008 8165h
TPU6.TSR 0008 8185h, TPU7.TSR 0008 8195h, TPU8.TSR 0008 81A5h
TPU9.TSR 0008 81B5h, TPU10.TSR 0008 81C5h, TPU11.TSR 0008 81D5h
[Legend] x: Undefined
Bit
Symbol
Bit Name
Description
R/W
b5 to b0
Reserved
The read value is undefined. The write value should always be 0. R/W
b6
Reserved
This bit is read as 1 and cannot be modified.
R
b7
TCFD
*
Count Direction Flag 0: TPUm.TCNT counts down
1: TPUm.TCNT counts up
(m = 1, 2, 4, 5, 7, 8, 10, 11)
R
Note:
*
Bit 7 in TSR of TPU0, TPU3 (unit 0), TPU6, and TPU9 (unit 1) is reserved. This bit is read as 1. The write value
should always be 1.
The TPU has twelve TSR registers, one for each channel.
TPUm.TSR indicates the count direction of the TPUm.TCNT counter.
TCFD Flag (Count Direction Flag)
Status flag that shows that TPUm.TCNT (m = 1, 2, 4, 5, 7, 8, 10, 11) counts up or down.