Rev. 1.00
86
August 29, 2018
Rev. 1.00
87
August 29, 2018
HT45F6530
AC Voltage Regulator Flash MCU
HT45F6530
AC Voltage Regulator Flash MCU
Bit 5~0
OnOF5~OnOF0
: OCP Operational Amplifier n input offset voltage calibration control
bits
These bits are used to calibrate the input offset according to the selected reference
input when the OCP Operational Amplifier n is in the offset calibration mode.
More detailed information is described in the “Operational Amplifier Input Offset
Calibration” section.
Comparator Registers – CMPnC, CMPnVOS
• CMPnC Register
Bit
7
6
5
4
3
2
1
0
Name
—
CMPnEN CnPOL
CMPnO
CNVTn1 CNVTn0
—
—
R/W
—
R/W
R/W
R
R/W
R/W
—
—
POR
—
0
0
0
0
0
—
—
Bit 7
Unimplemented, read as “0”
Bit 6
CMPnEN
: OCP Comparator n enable or disable control
0: Disable
1: Enable
This bit is used to control the OCP Comparator n on/off. The OCP Comparator n
output will be set low when this bit is cleared to zero. Therefore, CMPnO=0 when
CnPOL=0, or CMPnO=1 when CnPOL=1.
Bit 5
CnPOL
: OCP Comparator n output polarity control
0: Non-invert
1: Invert
This bit is used to control the OCP Comparator n output polarity. If the bit is zero
then the OCP Comparator n output bit, CMPnO, will reflect the non-inverted output
condition of the OCP Comparator n. If the bit is high the OCP Comparator n output bit
will be inverted.
Bit 4
CMPnO
: OCP Comparator n output bit
If CnPOL=0,
0: CMPnP < CMPnN
1: CMPnP > CMPnN
If CnPOL=1,
0: CMPnP > CMPnN
1: CMPnP < CMPnN
This bit stores the OCP Comparator n output bit. The polarity of the bit is determined by
the voltages on the OCP Comparator n inputs and by the condition of the CnPOL bit.
Bit 3~2
CNVTn1~CNVTn0
: OCP Comparator n response time selection
These bits are used to select the OCP Comparator n response time. The response time
is also determined by the overdriven voltage applied on the inputs except these bits.
Refer to “Comparator Electrical Characteristics” for details.
Bit 1~0
Unimplemented, read as “0”
• CMPnVOS Register
Bit
7
6
5
4
3
2
1
0
Name
—
CnOFM
CnRSP
CnOF4
CnOF3
CnOF2
CnOF1
CnOF0
R/W
—
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
—
0
0
1
0
0
0
0
Bit 7
Unimplemented, read as “0”
Bit 6
CnOFM
: OCP Comparator n operating mode selection
0: Normal operating mode
1: Input offset calibration mode