| Electronic Components Datasheet Search |
|
HT68F003 Datasheet(PDF) 44 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F003 Datasheet(HTML) 44 Page - Holtek Semiconductor Inc |
|
44 / 119 page ![]() Rev. 1.41 44 April 11, 2017 Rev. 1.41 45 April 11, 2017 HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM Bit6~4 Unimplemented,readas"0" Bit3 D3:Reservedbit 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 Disable 01010B Enable Any other 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,thethirdisusingtheWatchdogTimersoftwareclearinstructionsandthefourth isviaaHALTinstruction.Thereisonlyonemethodofusingsoftwareinstructiontoclearthe WatchdogTimer.Thatistousethesingle"CLRWDT"instructiontocleartheWDT. Themaximumtime-outperiodiswhenthe215divisionratioisselected.Asanexample,witha32kHz LIRCoscillatorasitssourceclock,thiswillgiveamaximumwatchdogperiodofaround1second forthe215divisionratio,andaminimumtimeoutof7.8msforthe28divisionration. |
|
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 |