Rev. 5.00, 12/03, page 1020 of 1088
TCSR—Timer Control/Status Register
H'FFBC (W), H'FFBC (R)
WDT
Notes: 1. The method for writing to TCSR is different from that for general registers to prevent
accidental overwriting. For details, see section 11.2.4, Notes on Register Access.
2. Can only be written with 0 for flag clearing.
0
[Clearing condition]
When 0 is written to OVF after reading OVF = 1
1
Overflow Flag
0
Interval timer mode: Sends the CPU an interval timer interrupt
request (WOVI) when TCNT overflows
Watchdog timer mode: Generates the WDTOVF signal
*
1
when
TCNT overflows
*
2
1
Timer Mode Select
0
1
TCNT is initialized to H'00 and halted
TCNT counts
Timer Enable
Clock Select
CKS2 CKS1 CKS0
Clock
Overflow period
*
(when
φ
= 20 MHz)
0
1
0
1
0
1
0
1
0
1
0
1
0
1
φ
/2
φ
/64
φ
/128
φ
/512
φ
/2048
φ
/8192
φ
/32768
φ
/131072
25.6
µ
s
819.2
µ
s
1.6 ms
6.6 ms
26.2 ms
104.9 ms
419.4 ms
1.68s
Note:
*
The overflow period is the time from when TCNT
starts counting up from H'00 until overflow occurs.
[Setting condition]
When TCNT overflows from H'FF to H'00 in interval timer mode
7
OVF
0
R/(W)
*
2
6
WT/
IT
0
R/W
5
TME
0
R/W
4
1
3
1
0
CKS0
0
R/W
2
CKS2
0
R/W
1
CKS1
0
R/W
Bit
Initial value
Read/Write
*
1
:
:
:
Notes: 1. The
WDTOVF
pin function cannot be used in the F-ZTAT
versions.
2. For details of the case where TCNT overflows in watchdog
timer mode, see section 11.2.3, Reset Control/Status Register
(RSTCSR).
Содержание H8S/2318 series
Страница 2: ......
Страница 6: ...Rev 5 00 12 03 page vi of xxx...
Страница 12: ...Rev 5 00 12 03 page xii of xxx...
Страница 30: ...Rev 5 00 12 03 page xxx of xxx...
Страница 54: ...Rev 5 00 12 03 page 24 of 1088...
Страница 98: ...Rev 5 00 12 03 page 68 of 1088...
Страница 128: ...Rev 5 00 12 03 page 98 of 1088...
Страница 138: ...Rev 5 00 12 03 page 108 of 1088...
Страница 168: ...Rev 5 00 12 03 page 138 of 1088...
Страница 212: ...Rev 5 00 12 03 page 182 of 1088...
Страница 324: ...Rev 5 00 12 03 page 294 of 1088...
Страница 436: ...Rev 5 00 12 03 page 406 of 1088...
Страница 546: ...Rev 5 00 12 03 page 516 of 1088...
Страница 580: ...Rev 5 00 12 03 page 550 of 1088...
Страница 822: ...Rev 5 00 12 03 page 792 of 1088...
Страница 876: ...Rev 5 00 12 03 page 846 of 1088...
Страница 901: ...Rev 5 00 12 03 page 871 of 1088 A 2 Instruction Codes Table A 2 shows the instruction codes...
Страница 1121: ...H8S 2319 Group H8S 2318 Group Hardware Manual REJ09B0089 0500O...