TCSR—Timer Control/Status Register
www.DataSheet4U.com
Bit
OVF
Initial value
Read/Write
R/(W)
Timer enable
0 Timer disabled
•
TCNT is initialized to H'00 and halted
1 Timer enabled
•
TCNT is counting
•
CPU interrupt requests are enabled
Timer mode select
0 Interval timer: requests interval timer interrupts
1 Watchdog timer: generates a reset signal
Overflow flag
0 [Clearing condition]
Read OVF when OVF = 1, then write 0 in OVF
1 [Setting condition]
TCNT changes from H'FF to H'00
Note:
*
Only 0 can be written, to clear the flag.
7
6
5
IT
WT/
TME
0
0
0
*
R/W
R/W
H'A8
4
3
2
—
—
CKS2
1
1
0
—
—
R/W
Clock select 2 to 0
0
1
791
WDT
1
0
CKS1
CKS0
0
0
R/W
R/W
0
0
ø/2
1
ø/32
1
0
ø/64
1
ø/128
0
0
ø/256
1
ø/512
1
0
ø/2048
1
ø/4096