
Rev. 1.40
114
March 29, 2019
Rev. 1.40
115
March 29, 2019
HT45F23A/HT45F24A
TinyPower
TM
Flash MCU with OPA & Comparators
HT45F23A/HT45F24A
TinyPower
TM
Flash MCU with OPA & Comparators
OPA2 Switch Control
The following diagram and table illustrate the OPA2 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 PGAEN=1 will force S6D, S7D to close and the PGAEN=0 will force S6D, S7D to open.
• When the A2EN=0, these switches, S6D, S7D and S9D, are opened by hardware, then the related
I/O pins can be used as the other functions.
OPA1
A1O2A2P
A1O2A2N
S11D
S8D
S12D
S13D
S14D
VH1
VM
VL1
A2O2N
S9D
560K
S7D
S6D
10K
A2NS
S5D
A2PS
S4D
A2P
A2N
A2O2CIN
S10D
CMP1
CMP2
A2E
A2X
A2OEN
OPA2
Switch priority: S4D>S11D>(S12D, S13D, S14D); If A2PS=1, S11D~S14D will be opened by hardware.
Switch priority: S5D>S8D; If A2NS=1, S8D will be opened by hardware.