English
Language : 

HD64F3687HV Datasheet, PDF (228/538 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
Section 13 Timer Z
13.3.11 Timer Status Register (TSR)
TSR indicates generation of an overflow/underflow of TCNT and a compare match/input capture
of GRA, GRB, GRC, and GRD. These flags are interrupt sources. If an interrupt is enabled by a
corresponding bit in TIER, TSR requests an interrupt for the CPU. Timer Z has two TSR registers,
one for each channel.
Initial
Bit
Bit Name value R/W Description
7, 6 
All 1

Reserved
These bits are always read as 1.
5
UDF*
0
R/W Underflow Flag
[Setting condition]
• When TCNT_1 underflows
[Clearing condition]
• When 0 is written to UDF after reading UDF = 1
4
OVF
0
R/W Overflow Flag
[Setting condition]
• When the TCNT value underflows
[Clearing condition]
• When 0 is written to OVF after reading OVF = 1
3
IMFD
0
R/W Input Capture/Compare Match Flag D
[Setting conditions]
• When TCNT = GRD and GRD is functioning as output
compare register
• When TCNT value is transferred to GRD by input
capture signal and GRD is functioning as input
capture register
[Clearing condition]
• When 0 is written to IMFD after reading IMFD = 1
Rev.5.00 Nov. 02, 2005 Page 194 of 500
REJ09B0027-0500