| Electronic Components Datasheet Search |
|
HT45F3230 Datasheet(PDF) 45 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F3230 Datasheet(HTML) 45 Page - Holtek Semiconductor Inc |
|
45 / 148 page ![]() Rev. 1.00 44 January 13, 2017 Rev. 1.00 45 January 13, 2017 HT45F3230 IR Sensing/Motor Driving Flash MCU HT45F3230 IR Sensing/Motor Driving Flash MCU Bit2 LVRF:LVRfunctionresetflag Describedelsewhere. Bit1 LRF:LVRControlregistersoftwareresetflag Describedelsewhere. Bit0 WRF:WDTControlregistersoftwareresetflag 0:Notoccur 1:Occurred ThisbitissethighbytheWDTControlregistersoftwareresetandclearedbythe applicationprogram.Notethatthisbitcanonlybeclearedtozerobytheapplication program. Watchdog Timer Operation TheWatchdogTimeroperatesbyprovidingadeviceresetwhenitstimeroverflows.Thismeans thatintheapplicationprogramandduringnormaloperationtheuserhastostrategicallyclearthe WatchdogTimerbeforeitoverflowstopreventtheWatchdogTimerfromexecutingareset.Thisis doneusingtheclearwatchdoginstructions.Iftheprogrammalfunctionsforwhateverreason,jumps toanunknownlocation,orentersanendlessloop,theseclearinstructionswillnotbeexecutedinthe correctmanner,inwhichcasetheWatchdogTimerwilloverflowandresetthedevice.Therearefive bits,WE4~WE0,intheWDTCregistertooffertheenable/disablecontrolandresetcontrolofthe WatchdogTimer.TheWDTfunctionwillbedisabledwhentheWE4~WE0bitsaresettoavalueof 10101BwhiletheWDTfunctionwillbeenablediftheWE4~WE0bitsareequalto01010B.Ifthe WE4~WE0bitsaresettoanyothervalues,otherthan01010Band10101B,itwillresetthedevice after2~3fLIRCclockcycles.Afterpoweronthesebitswillhaveavalueof01010B. WE4~WE0 Bits WDT Function 10101B Disable 01010B Enable Any other value Reset MCU WatchdogTimerEnable/DisableControlUndernormalprogramoperation,aWatchdogTimertime- outwillinitialiseadeviceresetandsetthestatusbitTO.However,ifthesystemisintheSLEEP orIDLEMode,whenaWatchdogTimertime-outoccurs,theTObitinthestatusregisterwillbe setandonlytheProgramCounterandStackPointerwillbereset.Threemethodscanbeadopted toclearthecontentsoftheWatchdogTimer.ThefirstisaWDTreset,whichmeansacertainvalue except01010Band10101BwrittenintotheWE4~WE0bitfiled,thesecondisusingtheWatchdog TimersoftwareclearinstructionsandthethirdisviaaHALTinstruction. ThereisonlyonemethodofusingsoftwareinstructiontocleartheWatchdogTimer.Thatistouse thesingle“CLRWDT”instructiontocleartheWDT. Themaximumtimeoutperiodiswhenthe215divisionratioisselected.Asanexample,witha 32kHzLIRCoscillatorasitssourceclock,thiswillgiveamaximumwatchdogperiodofaround1 secondforthe215divisionratio,andaminimumtimeoutof8msforthe28divisionration. “ CLR WDT”Instruction 8-stage Divider WDT Prescaler WE4~WE0 bits WDTC Register Reset MCU fSUB/28 8-to-1 MUX CLR WS2~WS0 WDT Time-out LIRC “ HALT”Instruction fLIRC fSUB Watchdog Timer |
|
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 |