| 数据搜索系统,热门电子元器件搜索 |
|
HT45F56 数据表(PDF) 39 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F56 数据表(HTML) 39 Page - Holtek Semiconductor Inc |
|
39 / 90 page ![]() Rev. 1.11 38 April 11, 2017 Rev. 1.11 39 April 11, 2017 HT45F56 Shock Detector Flash MCU HT45F56 Shock Detector Flash MCU SMOD1 Register Bit 7 6 5 4 3 2 1 0 Name FSYSON — — — RSTF LVRF — WRF R/W R/W — — — R/W R/W — R/W POR 0 — — — 0 x — 0 “x”: unknown Bit7 FSYSON:fSYScontrolinIDLEmode Describedelsewhere. Bit6~4 Unimplemented,readas“0” Bit3 RSTF:Resetcontrolregistersoftwareresetflag Describedelsewhere. Bit2 LVRF:LVRfunctionresetflag Describedelsewhere. Bit1 Unimplemented,readas“0” Bit0 WRF:WDTcontrolregistersoftwareresetflag 0:Notoccurred 1:Occurred Thisbitissetto1bytheWDTcontrolregistersoftwareresetandclearedbythe applicationprogram.Notethatthisbitcanonlybeclearedto0bytheapplicationprogram. Watchdog Timer Operation TheWatchdogTimeroperatesbyprovidingadeviceresetwhenitstimeroverflows.Thismeans thatintheapplicationprogramandduringnormaloperationtheuserhastostrategicallyclearthe WatchdogTimerbeforeitoverflowstopreventtheWatchdogTimerfromexecutingareset.Thisis doneusingtheclearwatchdoginstruction.Iftheprogrammalfunctionsforwhateverreason,jumps toanunknownlocation,orentersanendlessloop,theclearinstructionwillnotbeexecutedinthe correctmanner,inwhichcasetheWatchdogTimerwilloverflowandresetthedevice.Withregardto theWatchdogTimerenable/disablefunction,therearefivebits,WE4~WE0,intheWDTCregister tooffertheenable/disablecontrolandresetcontroloftheWatchdogTimer.TheWDTfunctionwill bedisabledwhentheWE4~WE0bitsaresettoavalueof10101BwhiletheWDTfunctionwill beenablediftheWE4~WE0bitsareequalto01010B.IftheWE4~WE0bitsaresettoanyother values,otherthan01010Band10101B,itwillresetthedeviceafter2~3fLIRC clockcycles.After poweronthesebitswillhaveavalueof01010B. 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,whichmeansacertainvalueexcept01010Band10101Bwrittenintothe WE4~WE0field,thesecondisusingtheWatchdogTimersoftwareclearinstruction,thethirdis usingaHALTinstructionandthefourthisanexternalhardwarereset. ThereisonlyonemethodofusingsoftwareinstructiontocleartheWatchdogTimer.Thatistouse thesingle“CLRWDT”instructiontocleartheWDTcontents. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |