Datasheet
Appendix B Internal I/O Register
Page 1330 of 1434 R01UH0166EJ0600 Rev. 6.00
Mar 02, 2011
H8S/2633 Group, H8S/2633 F-ZTAT
TM
,
H8S/2633R F-ZTAT
TM
, H8S/2695
TCSR1—Timer Control/Status Register 1 H'FFA2 (W), H'FFA2 (R) WDT1
(This function is not available in the H8S/2695.)
7
OVF
0
R/(W)
*
6
WT/IT
0
R/W
5
TME
0
R/W
4
PSS
0
R/W
3
RST/NMI
0
R/W
0
CKS0
0
R/W
2
CKS2
0
R/W
1
CKS1
0
R/W
Notes: TCSR is write-protected by a password to prevent accidental overwriting.
For details see section 15.2.5, Notes on Register Access.
* Only 0 can be written to these bits (to clear these flags).
Overflow flag
0 [Clearing conditions]
(1) When 0 is written to TME bit
(2) When 0 is written to OVF bit after reading TCSR when OVF=1
1 [Setting condition]
When TCNT overflows (H’FF→ H’00).
When internal reset request generation is selected in watchdog timer mode, OVF is cleared
automatically by the internal reset.
Timer enable
0 Initializes TCNT to H’00 and disables the counting operation.
1 TCNT performs counting operation.
Prescaler select
0 TCNT counts the divided clock output by the ø-based prescaler (PSM).
1 TCNT counts the divided clock output by the øSUB-based prescaler (PSS).
Reset or NMI
0 NMI interrupt request
1 Internal reset request
Timer mode select
0 Interval timer mode: Interval timer interrupt (WOVI) request
sent to CPU when overflow occurs at TCNT.
1 Watchdog timer mode: Reset or NMI interrupt request sent to
CPU when overflow occurs at TCNT.
Clock select 2 to 0
PSS CSK2 CSK1 CSK0 Clock Overflow cycle*
(when ø= 25MHz)
(when øSUB=32.768kHz)
0 0 0 0 ø/2 20.4 µs
1 ø/64 652.8 µs
1 0 ø/128 1.3 ms
1 ø/512 5.2 ms
1 0 0 ø/2048 20.9 ms
1 ø/8192 83.6 ms
1 0 ø/32768 334.2 ms
1 ø/131072 1.34 s
1 0 0 0 øSUB/2 15.6 ms
1 øSUB/4 31.3 ms
1 0 øSUB/8 62.5 ms
1 øSUB/16 125 ms
1 0 0 øSUB/32 250 ms
1 øSUB/64 500 ms
1 0 øSUB/128 1 s
1 øSUB/256 2 s
Note: * The overflow cycle starts when TCNT starts counting from H’00 and ends
when an overflow occurs.
Bit
Initial value
R/W
:
:
:










