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

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
TCSR1—Timer Control/Status Register 1
Notes: 1.
Bit
Initial value
Read/Write
TCSR1
2.
Only 0 can be written, to clear the flag.
For operation control when a transition is made to power-down mode, see section 24.2.3, Timer Control/Status Register (TCSR).
R/(W) *
Overflow flag
0
1
OVF
7
0
[Clearing conditions]
• When 0 is written in the TME bit
• When 0 is written in OVF after reading TCSR when OVF = 1
[Setting condition]
When TCNT overflows from H'FF to H'00
When internal reset request is selected in watchdog timer mode, OVF is cleared
automatically by an internal reset after being set
1
WT/IT
Timer mode select
R/W
0
1
6
0
Interval timer mode: Interval timer interrupt request (WOVI)
sent to CPU when TCNT overflows
Watchdog timer mode: Reset or NMI interrupt request sent
to CPU when TCNT overflows
TME
Timer enable
R/W
0
1
5
0
TCNT is initialized to H'00 and halted
TCNT counts
Prescaler select *
PSS
R/W
0
1
4
0
TCNT counts on a -based prescaler (PSM) scaled clock
TCNT counts on a SUB-based prescaler (PSS) scaled clock
RST/NMI
Rev. 4.00 Jun 06, 2006 page 953 of 1004
R/W
H'FFEA
Reset or NMI
0
1
2
3
0
NMI interrupt requested
Internal reset requested
Appendix B Internal I/O Registers
CKS2
R/W
2
0
Clock select 2 to 0
PSS
0
1
CKS2
0
1
0
1
CKS1
R/W
1
0
CKS1
REJ09B0301-0400
0
1
0
1
0
1
0
1
CKS0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
CKS0
R/W
0
0
/2
/64
/128
/512
/2048
/8192
/32768
/131072
SUB/2
SUB/4
SUB/8
SUB/16
SUB/32
SUB/64
SUB/128
SUB/256
Clock
WDT1

Related parts for h8s-2138