HT45F23A/HT45F24A
TinyPower
Flash MCU with OPA & Comparators
TM
A1NS
A1N
S5C
A1P
A1PS
S4C
A1PS=1 will force A1PSEL[1:0]=00, i.e. S10C, S9C, S8C will be opened.
A1EN=0 will force the S6C opened by hardware, then the related I/O pins can be used as the other functions.
The following table illustrates the relationship between OPA1 control register settings and the
switches:
OPA1 Control Bits in OPA1C0,
OPA1C1
A1PS A1NS
1
1
0
1
0
1
0
1
1
1
1
0
0
1
0
1
0
1
Note: The A1O2N bit is only available when the OPA1 is enabled by setting the A1EN bit high.
When the OPA1 is disabled by setting the A1EN bit low, the A1O2N bit will be forced low
and the S6C w©ill be switched off by hardware.
OPA1 & I/O status description:
The following table illustrates the OPA1 & I/O settings.
A1EN A1NS A1PS
0
x
1
0
1
0
1
1
1
1
Rev. 1.40
S10C
VH1
S9C
VM
S8C
VL1
A1O2N
S6C
A1OEN
OPA1 Switch Control
Switch Description
A1PSEL1
A1O2N
S4C
A1PSEL0
00
0
On
01
0
Off
10
0
Off
11
0
Off
00
1
On
00
1
On
01
0
Off
10
0
Off
11
0
Off
x
PA2, PA3 and PA4 are I/Os
0
PA2 and PA3 are I/Os, PA4 is OPA1 A1E output
1
PA3 is I/O. PA2 is OPA1 A1P input, PA4 is OPA1 A1E output
0
PA2 is I/O. PA3 is OPA1 A1N input, PA4 is OPA1 A1E output
1
PA2 is OPA1 A1P input and PA3 is OPA1 A1N input, PA4 is OPA1 A1E output
113
A1O2C1N
A1O2C2N
A1O2A2P
OPA1
S8C~
S5C
S6C
OPA1 connections
S10C
On
Off
Off
Input= A1N, A1P
On
Off
S10C On Input= A1N, VH1
On
Off
S9C On Input= A1N, VM
On
Off
S8C On Input= A1N, VL1
Input= A1N, A1P,
On
On
Off
connect A1N, A1E
Input= A1P,
Off
On
Off
OPA1 as unit gain buffer
On
Off
S10C On Input= A1N, VH1
On
Off
S9C On Input= A1N, VM
On
Off
S8C On Input= A1N, VL1
Description
CMP1
CMP2
S7C
OPA2
A1E
A1X
Results
March 29, 2019
Need help?
Do you have a question about the HT45F23A and is the answer not in the manual?
Questions and answers