| Electronic Components Datasheet Search |
|
HT45F5Q Datasheet(PDF) 45 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5Q Datasheet(HTML) 45 Page - Holtek Semiconductor Inc |
|
45 / 114 page ![]() Rev. 1.10 44 De�e��e� 1�� �01� Rev. 1.10 45 De�e��e� 1�� �01� HT45F5Q Charger Flash MCU HT45F5Q Charger Flash MCU Bit6~4 Unimplemented,readas“0” Bit3 RSTF:ResetcausedbyRSTCsetting 0:Notactive 1:Active Thisbitcanbeclearto“0”,butcannotsetto“1”.Ifthisbitisset,onlyclearedby SoftwareorPORreset. Bit2 LVRF:LVRfunctionresetflag 0:Notactive 1:Active Thisbitcanbeclearto“0”,butcannotbesetto“1”. Bit1 Unimplemented,readas“0” Bit0 WRF:WDTControlregistersoftwareresetflag 0:Notoccur 1:Occurred Thisbitissetto1bytheWDTControlregistersoftwareresetandclearedbythe applicationprogram.Notethatthisbitcanonlybeclearedto0bytheapplication program. Watchdog Timer Operation TheWatchdogTimeroperatesbyprovidingadeviceresetwhenitstimeroverflows.Thismeans thatintheapplicationprogramandduringnormaloperationtheuserhastostrategicallyclearthe WatchdogTimerbeforeitoverflowstopreventtheWatchdogTimerfromexecutingareset.Thisis doneusingtheclearwatchdoginstructions.Iftheprogrammalfunctionsforwhateverreason,jumps toanunknownlocation,orentersanendlessloop,theclearWDTinstructionswillnotbeexecuted inthecorrectmanner,inwhichcasetheWatchdogTimerwilloverflowandresetthedevice.With regardtotheWatchdogTimerenable/disablefunction,therearefivebits,WE4~WE0,intheWDTC registertoadditionalenable/disableandresetcontroloftheWatchdogTimer. WE4 ~ WE0 Bits WDT Function 10101B Disa�le 01010B Ena�le Any othe� value Reset MCU Watchdog Timer Enable/Disable Control Undernormalprogramoperation,aWatchdogTimertime-outwillinitialiseadeviceresetandset thestatusbitTO.However,ifthesystemisintheSLEEPorIDLEMode,whenaWatchdogTimer time-outoccurs,theTObitinthestatusregisterwillbesetandonlytheProgramCounterandStack Pointerwillbereset.FourmethodscanbeadoptedtoclearthecontentsoftheWatchdogTimer. ThefirstisaWDTreset,whichmeansavalueotherthan01010Band10101Biswrittenintothe WE4~WE0bitlocations,thesecondisanexternalhardwarereset,whichmeansalowlevelonthe externalresetpin,thethirdisusingtheWatchdogTimersoftwareclearinstructionandthefourth isviaaHALTinstruction.Thereisonlyonemethodofusingsoftwareinstructiontoclearthe WatchdogTimer.Thatistousethesingle“CLRWDT”instructiontocleartheWDT. Themaximumtime-outperiodiswhenthe215divisionratioisselected.Asanexample,witha32kHz LIRCoscillatorasitssourceclock,thiswillgiveamaximumwatchdogperiodofaround1second forthe215divisionratio,andaminimumtimeoutof8msforthe28divisionration. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |