HT56R22/HT56R23/HT56R24/HT56R25/HT56R26
· TMR0C Register
Bit
7
6
5
4
3
2
Name
T0M1
T0M0
¾
T0ON
T0EG T0PSC2
R/W
R/W
R/W
¾
R/W
R/W
R/W
POR
0
0
¾
0
1
0
Bit 7,6
Bit 5
Bit 4
Bit 3
Bit 2~0
T0M1, T0M0: Timer0 operation mode selection
00: no mode available
01: event counter mode
10: timer mode
11: pulse width capture mode
Not implemented, read as ²0²
T0ON: Timer/event counter counting enable
0: disable
1: enable
T0EG:
Event counter active edge selection
0: count on raising edge
1: count on falling edge
Pulse Width Capture active edge selection
0: start counting on falling edge, stop on rasing edge
1: start counting on raising edge, stop on falling edge
T0PSC2, T0PSC1, T0PSC0: Timer prescaler rate selection
Timer internal clock=
000: fSYS
001: fSYS/2
010: fSYS/4
011: fSYS/8
100: fSYS/16
101: fSYS/32
110: fSYS/64
111: fSYS/128
1
T0PSC1
R/W
0
0
T0PSC0
R/W
0
Rev. 1.30
50
December 26, 2014