Rev. 1.50 170 August 28, 2017 Rev. 1.50 171 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
Low Voltage Detector – LVD
EachdevicehasaLowVoltageDetectorfunction,alsoknownasLVD.Thisenabledthedeviceto
monitorthepowersupplyvoltage,V
DD
,andprovideawarningsignalshoulditfallbelowacertain
level.Thisfunctionmaybeespeciallyusefulinbatteryapplicationswherethesupplyvoltagewill
graduallyreduceasthebatteryages,asitallowsanearlywarningbatterylowsignaltobegenerated.
TheLowVoltageDetectoralsohasthecapabilityofgeneratinganinterruptsignal.
LVD Register
TheLowVoltageDetectorfunctioniscontrolledusingasingleregisterwiththenameLVDC.Three
bitsinthisregister,VLVD2~VLVD0,areusedtoselectoneofeightxedvoltagesbelowwhich
alowvoltageconditionwillbedetermined.AlowvoltageconditionisindicatedwhentheLVDO
bitisset.IftheLVDObitislow,thisindicatesthattheV
DD
voltageisabovethepresetlowvoltage
value.TheLVDENbitisusedtocontroltheoverallon/offfunctionofthelowvoltagedetector.
Settingthebithighwillenablethelowvoltagedetector.Clearingthebittozerowillswitchoffthe
internallowvoltagedetectorcircuits.Asthelowvoltagedetectorwillconsumeacertainamountof
power,itmaybedesirabletoswitchoffthecircuitwhennotinuse,animportantconsiderationin
powersensitivebatterypoweredapplications.
LVDC Register
Bit 7 6 5 4 3 2 1 0
Name — — LVDO LVDEN — VLVD2 VLVD1 VLVD0
R/W — — R R/W — R/W R/W R/W
POR — — 0 0 — 0 0 0
Bit7~6 Unimplemented,readas“0”
Bit5 LVDO:LVDoutputag
0:NoLowVoltageDetected
1:LowVoltageDetected
Bit4 LVDEN:LowVoltageDetectorEnablecontrol
0:Disable
1:Enable
Bit3 Unimplemented,readas“0”
Bit2~0 VLVD2~VLVD0:LVDVoltageselection
000:2.0V
001:2.2V
010:2.4V
011:2.7V
100:3.0V
101:3.3V
110:3.6V
111:4.0V