Rev. 1.00
84
August 29, 2018
Rev. 1.00
85
August 29, 2018
HT45F6530
AC Voltage Regulator Flash MCU
HT45F6530
AC Voltage Regulator Flash MCU
Register
Name
Bit
7
6
5
4
3
2
1
0
DAnH
—
—
—
—
D11
D10
D9
D8
DAnL
D7
D6
D5
D4
D3
D2
D1
D0
DACnC
DACnEN DACnVRS
—
—
—
—
Sn7
Sn6
OPnC
OPnOUT
OPnEN
—
—
—
—
OPnBW1 OPnBW0
OPnVOS
OnOFM
OnRSP
OnOF5
OnOF4
OnOF3
OnOF2
OnOF1
OnOF0
CMPnC
—
CMPnEN
CnPOL
CMPnO CNVTn1 CNVTn0
—
—
CMPnVOS
—
CnOFM
CnRSP
CnOF4
CnOF3
CnOF2
CnOF1
CnOF0
Over Current Protection Register List (n=0~1)
D/A Converter Registers – DAnH, DAnL, DACnC
• DAnH Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
D11
D10
D9
D8
R/W
—
—
—
—
R/W
R/W
R/W
R/W
POR
—
—
—
—
0
0
0
0
Bit 7~4
Unimplemented, read as “0”
Bit 3~0
D11~D8
: OCP D/A Converter n output control code high byte
• DAnL Register
Bit
7
6
5
4
3
2
1
0
Name
D7
D6
D5
D4
D3
D2
D1
D0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
0
0
0
0
0
0
0
0
Bit 7~0
D7~D0
: OCP D/A Converter n output control code low byte
Writing this register will only write the data to a shadow buffer and writing the DAnH
register will simultaneously copy the shadow buffer data to the DAnL register.
OCP D/A Converter n Output=(D/A Converter n reference voltage/2
12
)×D[11:0]
• DACnC Register
Bit
7
6
5
4
3
2
1
0
Name
DACnEN DACnVRS
—
—
—
—
Sn7
Sn6
R/W
R/W
R/W
—
—
—
—
R/W
R/W
POR
0
0
—
—
—
—
0
0
Bit 7
DACnEN
: OCP D/A Converter n enable or disable control bit
0: Disable
1: Enable
Note that in applications the BUF_OUTn function should be first selected by properly
configuring the corresponding pin-shared function register before the DACnEN bit is
set high.
Bit 6
DACnVRS
: OCP D/A Converter n reference voltage selection
0: From V
DD
1: From VRnEXT pin
Bit 5~2
Unimplemented, read as “0”
Bit 1
Sn7
: Switch S7 control
0: Off
1: On