h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 985

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
TCSR0—Timer Control/Status Register 0
Bit
Initial value
Read/Write
TCSR0
Note: * Only 0 can be written, to clear the flag.
Overflow flag
0
1
R/(W) *
OVF
[Clearing conditions]
• Write 0 in the TME bit
• Read TCSR when OVF = 1, then write 0 in OVFA
[Setting condition]
When TCNT overflows (changes from H'FF to H'00)
(When internal reset request generation is selected in watchdog
timer mode, OVF is cleared automatically by the internal reset.)
7
0
Timer mode select
WT/IT
0
1
R/W
6
0
Interval timer: Sends the CPU an interval timer interrupt
request (WOVI) when TCNT overflows
Watchdog timer: Generates a reset or NMI interrupt when
TCNT overflows
Timer enable
0
1
TME
R/W
5
0
TCNT is initialized to H'00 and halted
TCNT counts
Reserved bit
RSTS
R/W
4
0
RST/NMI
Reset or NMI
0
1
Rev. 4.00 Jun 06, 2006 page 931 of 1004
R/W
H'FFA8
3
0
NMI interrupt requested
Internal reset requested
Clock select 2 to 0
CKS2
Appendix B Internal I/O Registers
0
1
CKS2
R/W
2
0
CKS1
0
1
0
1
CKS1
R/W
CKS0
1
0
0
1
0
1
0
1
0
1
REJ09B0301-0400
/2
/64
/128
/512
/2048
/8192
/32768
/131072
CKS0
R/W
Clock
0
0
WDT0

Related parts for h8s-2138