h8s-2111b Renesas Electronics Corporation., h8s-2111b Datasheet - Page 259

no-image

h8s-2111b

Manufacturer Part Number
h8s-2111b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Notes: 1. Only 0 can be written, to clear the flag.
• TCSR_1
Bit
7
6
5
Bit
2
1
0
2. When OVF is polled with the interval timer interrupt disabled, OVF = 1 must be read at
Bit Name
OVF
WT/IT
TME
Bit Name
CKS2
CKS1
CKS0
least twice.
Initial
Value
0
0
0
Initial
Value
0
0
0
R/W
R/(W)*
R/W
R/W
R/W
R/W
R/W
R/W
1
Description
Overflow Flag
Indicates that TCNT has overflowed (changes from H'FF
to H'00).
[Setting condition]
When TCNT overflows (changes from H'FF to H'00)
However, when internal reset request generation is
selected in watchdog timer mode, OVF is cleared
automatically by the internal reset.
[Clearing conditions]
When TCSR is read when OVF = 1*
OVF
When 0 is written to TME
Timer Mode Select
Selects whether the WDT is used as a watchdog timer
or interval timer.
0: Interval timer mode
1: Watchdog timer mode
Timer Enable
When this bit is set to 1, TCNT starts counting.
When this bit is cleared, TCNT stops counting and is
initialized to H'00.
Description
Clock Select 2 to 0
Selects the clock source to be input to. The overflow
frequency for φ = 10 MHz is enclosed in parentheses.
000: φ/2 (frequency: 51.2 µs)
001: φ/64 (frequency: 1.64 ms)
010: φ/128 (frequency: 3.28 ms)
011: φ/512 (frequency: 13.1 ms)
100: φ/2048 (frequency: 52.4 ms)
101: φ/8192 (frequency: 209.7 ms)
110: φ/32768 (frequency: 0.84 s)
111: φ/131072 (frequency: 3.36 s)
Rev. 1.00, 05/04, page 225 of 544
2
, then 0 is written to

Related parts for h8s-2111b