Datasheet

Table Of Contents
Section 14 16-Bit Timer Pulse Unit (TPU)
Rev. 2.00 Jul. 04, 2007 Page 284 of 692
REJ09B0309-0200
14.3.5 Timer Status Register (TSR)
TSR indicates the status for each channel. The TPU has a total of two TSR registers, one for each
channel.
Bit Bit Name
Initial
Value
R/W Description
7, 6 All 1 Reserved
These bits are always read as 1 and cannot be modified.
5 0 Reserved
This bit is always read as 0 and cannot be modified.
4 TCFV 0 R/(W)* Overflow Flag
Status flag that indicates that TCNT overflow has
occurred.
[Setting condition]
The TCNT value overflows (changes from H'FFFF to
H'0000 )
[Clearing condition]
Writing of 0 to bit TCFV after reading TCFV = 1
3, 2 All 0 Reserved
These bits are always read as 0 and cannot be modified.
1 TGFB 0 R/(W)* Input Capture/Output Compare Flag B
Status flag that indicates the occurrence of TGRB input
capture or compare match.
[Setting conditions]
TCNT = TGRB and TGRB is functioning as output
compare register
The TCNT value is transferred to TGRB by input
capture signal and TGRB is functioning as input
capture register
[Clearing condition]
Writing of 0 to bit TGFB after reading TGFB = 1