User`s guide

Rev. 1.10 44 November 14, 2014 Rev. 1.10 45 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
Reset Functions
Thereareseveralwaysinwhichamicrocontrollerresetcanoccur,througheventsoccurring
internally.
Power-on Reset
Themostfundamentalandunavoidableresetistheonethatoccursafterpowerisrstappliedto
themicrocontroller.AswellasensuringthattheProgramMemorybeginsexecutionfromtherst
memoryaddress,apower-onresetalsoensuresthatcertainotherregistersarepresettoknown
conditions.AlltheI/Oportandportcontrolregisterswillpowerupinahighconditionensuringthat
allpinswillberstsettoinputs.




  
Note:t
RSTD
ispower-ondelay,typicaltime=50ms
Power-On Reset Timing Chart
RSTC Register Software Reset
IfthedeviceresetcausedbyRST[7:0]setting,theERSTFbitintheRSTFCregisterwillbesetto1.
RSTC External Reset Register
Bit 7 6 5 4 3 2 1 0
Name RST7 RST6 RST5 RST4 RST3 RST2 RST1 RST0
R/W R/W R/W R/W R/W R R R/W R/W
POR 0 1 0 1 0 1 0 1
Bit7~0 RST7 ~ RST0:GPIOorRESBcongurationselectionforPB0
01010101and10101010:conguredasGPIO
OtherValues:MCUreset
Note:ThedeviceisxedatPB0beforeitleavesthefactory.
Low Voltage Reset – LVR
Themicrocontrollercontainsalowvoltageresetcircuitinordertomonitorthesupplyvoltageofthe
device.TheLVRfunctionisalwaysenabledwithaspecicLVRvoltage,V
LVR
.Ifthesupplyvoltage
ofthedevicedropstowithinarangeof0.9V~V
LVR
suchasmightoccurwhenchangingthebattery,
theLVRwillautomaticallyresetthedeviceinternallyandtheLVRFbitintheRSTFCregisterwill
alsobesetto1.ForavalidLVRsignal,alowvoltage,i.e.,avoltageintherangebetween0.9V~
V
LVR
mustexistforgreaterthanthevaluet
LVR
speciedintheA.C.characteristics.Ifthelowvoltage
statedoesnotexceedthisvalue,theLVRwillignorethelowsupplyvoltageandwillnotperforma
resetfunction.NotethattheLVRfunctionwillbeautomaticallydisabledwhenthedeviceentersthe
powerdownmode.

   
 

Note:t
RSTD
ispower-ondelay,typicaltime=50ms
Low Voltage Reset Timing Chart