A1NS
A1N
A1PS
A1P
VH1
MU
VM
X
VL1
A1PSEL[1:0]
A1E
PGAEN
R1
A2N
10K
A2NS
A1O2A2N
A1O2A2P
A2P
A2PS
VH1
MUX
VM
VL1
A2PSEL[1:0]
A2E
Operational Amplifier Functions
The OPAs are connected together internally in a specific way and the output of OPAs can also be
connected to the internal comparators as shown in the block diagram. Each of the OPAs has its own
control register, with the name OPA1C0, OPA1C1, OPA2C0, OPA2C1 and OPA2C2 which are used
to control the enable/disable function, the calibration procedure and the programmable gain function
of OPA2.
OPA1 Switch Control
The following diagram and table illustrate the OPA1 switch control setting and the corresponding
connections. Note that some switch control selections will force some switches to be controlled by
hardware automatically.
For example:
• The S7C is closed when A1O2CIN=1 and the S7C is opened when A1O2CIN =0.
• The A1PS=1 will force A1PSEL1, 0=(00), i.e. S10C, S9C, S8C will be opened.
• When the A1EN=0, S6C switch are opened by hardware, then the related I/O pins can be used as
the other functions.
Rev. 1.40
TinyPower
Flash MCU with OPA & Comparators
TM
A1O2N
Connect AN6 (A/D)
A1
A1OEN
A1O2CIN
A2O2N
A2O2CIN
PGAEN
R2
560K
A2
Connect AN7 (A/D)
A2OEN
112
HT45F23A/HT45F24A
CINTO
Edge Select
A1X
CMPES[1:0]
VH0
MUX
C1NSEL
C1OUTEN
CMP1X
C1
C1INTEN
C2INTEN
C2
CMP2X
C2OUTEN
MUX
VL0
C2PSEL
CNPSEL
A2X
CMPINT
C1N
C1OUT
CINTO
C2OUT
C2P
CNP
March 29, 2019
Need help?
Do you have a question about the HT45F23A and is the answer not in the manual?
Questions and answers