
Rev. 1.40
110
March 29, 2019
Rev. 1.40
111
March 29, 2019
HT45F23A/HT45F24A
TinyPower
TM
Flash MCU with OPA & Comparators
HT45F23A/HT45F24A
TinyPower
TM
Flash MCU with OPA & Comparators
Bit 1
A2OEN
: OPA2 output enable or disable control bit
0: disable
1: enable
Note: If OPA2 enable and A2OEN set to 1, the MCU will consumption more DC
power (100μA ~ 200μA).
Bit 0
A2EN
: OPA2 enable or disable control bit
0: disable
1: enable
If this bit is set to 0, the PGAEN and A2O2N bits will be cleared to 0 by hardware.
OPA2C2 Register
Bit
7
6
5
4
3
2
1
0
Name
A1O2A2N A1O2A2P
—
—
PGAEN
PGA2
PGA1
PGA0
R/W
R/W
R/W
—
—
R/W
R/W
R/W
R/W
POR
0
0
—
—
0
0
0
0
Bit 7
A1O2A2N
: OPA1 output to OPA2 Inverting input control bit
0: disable
1: enable
To select the OPA1 output as the OPA2 inverting input, the A2NS bit should first be
set to 0 followed by the A1O2A2N bit being set to 1.
Bit 6
A1O2A2P
: OPA1 output to OPA2 Non-inverting input control bit
0: disable
1: enable
To select the OPA1 output as the OPA2 non-inverting input, the A2PS bit should first
be set to 0 followed by the A1O2A2N bit being set to 1.
Bit 5~4
unimplemented, read as “0”
Bit 3
PGAEN
: OPA2 PGA gain enable control bits
0: disable
1: enable
Bit 2~0
PGA2, PGA1, PGA0
: OPA2 Gain control bits
000: 1
001: 8
010: 16
011: 24
100: 32
101: 40
110: 48
111: 56
Operational Amplifier Operation
The advantages of multiple switches and input path options, various reference voltage selection, up
to 8 kinds of internal software gain control, offset reference voltage calibration function and power
down control for low power consumption enhance the flexibility of these two OPAs to suit a wide
range of application possibilities. The following block diagram illustrates the main functional blocks
of the OPAs and Comparator in the devices.