
Rev. 1.40
70
March 29, 2019
Rev. 1.40
71
March 29, 2019
HT45F23A/HT45F24A
TinyPower
TM
Flash MCU with OPA & Comparators
HT45F23A/HT45F24A
TinyPower
TM
Flash MCU with OPA & Comparators
TMR1C Register
Bit
7
6
5
4
3
2
1
0
Name
T1M1
T1M0
T1S
T1ON
T1E
—
—
—
R/W
R/W
R/W
R/W
R/W
R/W
—
—
—
POR
0
0
0
0
1
—
—
—
Bit 7,6
T1M1, T1M0
: Timer1 operation mode selection
00: event counter mode, the input signal is from Comparator 2 output
01: event counter mode, the input signal is from TC1 pin
10: timer mode
11: pulse width capture mode
Bit 5
T1S
: timer clock source
0: f
SYS
/4
1: f
SUB
, LXT or LIRC
Bit 4
T1ON
: Timer/event counter counting enable
0: disable
1: enable
Bit 3
T1E
:
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
Bit 2~0
unimplemented, read as “0”
MISC Register
Bit
7
6
5
4
3
2
1
0
Name
ODE3
ODE2
ODE1
ODE0
—
—
PFDSEL
PFDEN
R/W
R/W
R/W
R/W
R/W
—
—
R/W
R/W
POR
0
0
0
0
—
—
0
0
Bit 7
ODE3
: PB3 Open Drain Control
0: disable
1: enable
Bit 6
ODE2
: PB2 Open Drain Control
0: disable
1: enable
Bit 5
ODE1
: PB1 Open Drain Control
0: disable
1: enable
Bit 4
ODE0
: PB0 Open Drain Control
0: disable
1: enable
Bit 3~2
Unimplemented, read as “0”
Bit 1
PFDSEL
: PFD clock selection
0: Timer 0 output
1: Timer 1 output
Bit 0
PFDEN
: PFD function control
0: PFD disable
1: PFD enable