поискавой системы для электроныых деталей |
|
HT46R003B датащи(PDF) 25 Page - Holtek Semiconductor Inc |
|
HT46R003B датащи(HTML) 25 Page - Holtek Semiconductor Inc |
25 / 76 page Rev. 1.00 �� ��ne 1�� �01� Rev. 1.00 �5 ��ne 1�� �01� HT46R003B Cost-Effective A/D 8-bit OTP MCU HT46R003B Cost-Effective A/D 8-bit OTP MCU Watchdog Timer Operation TheWatchdogTimeroperatesbyprovidingadeviceresetwhenitstimeroverflows.Thismeans thatintheapplicationprogramandduringnormaloperationtheuserhastostrategicallyclearthe WatchdogTimerbeforeitoverflowstopreventtheWatchdogTimerfromexecutingareset.Thisis doneusingtheclearwatchdoginstruction.NotethatiftheWatchdogTimerfunctionisnotenabled, thenanyinstructionrelatedtotheWatchdogTimerwillresultinnooperation. SettingthevariousWatchdogTimeroptionsarecontrolledviatheinternalregistersWDTCand WDTS.EnablingtheWatchdogTimercanbecontrolledbytheWDTENnbitsintheinternalWDTC registerintheDataMemory.TheWatchdogTimerwillbedisabledifbitsWDTEN5~WDTEN0in theWDTCregisterarewrittenwiththebinaryvalue101101BwhiletheWDTTimerwillbeenabled ifthesebitsarewrittenwiththebinaryvalue000000B.Ifthesebitsarewrittenwiththeothervalues except000000Band101101B,theMCUwillbereset. TheWatchdogTimer clock can emanate from three different sources, selected by the WDTCLS1~WDTCLS0bitsintheWDTCregister.ThesesourcesarefSYS,fSYS/4orLIRC.Itis importanttonotethatwhenthesystementerstheSleepModethesystemclockisstopped,therefore ifithasselectedfSYSorfSYS/4astheWatchdogTimerclocksource,theWatchdogTimerwillstop. Forsystemsthatoperateinnoisyenvironments,it’srecommendedtousetheLIRCastheclock source.Thedivisionratiooftheprescalerisdeterminedbybits0,1and2oftheWDTSregister, knownasWS0,WS1andWS2.IftheWatchdogTimerinternalclocksourceisselectedandwith theWS0,WS1andWS2bitsoftheWDTSregisterallsethigh,theprescalerdivisionratiowillbe 1:32768,whichwillgiveamaximumtime-outperiod. Undernormalprogramoperation,aWatchdogTimertime-outwillinitializeadeviceresetandset thestatusbitTO.However,ifthesystemisintheSleepMode,whenaWatchdogTimertime-out occurs,thedevicewillbewokenup,theTObitinthestatusregisterwillbesetandonlytheProgram CounterandStackPointerwillbereset.Fourmethodscanbeadoptedtoclearthecontentsofthe WatchdogTimer.ThefirstisaWDTsoftwarereset,whichmeansacertainvalueexcept000000B and101101BwrittenintotheWDTEN5~WDTEN0bitfiled,thesecondisanexternalhardware reset,whichmeansalowlevelontheexternalresetpin,thethirdisusingtheClearWatchdogTimer softwareinstructionsandthefourthisviaa“HALT”instruction. ThereisonlyonemethodofusingsoftwareinstructiontocleartheWatchdogTimer.Thatistouse the“CLRWDT”instructiontocleartheWDT. “ CLR WDT”Instruction 8-stage Divider WDT Prescaler WDTEN5~WDTEN0 bits WDTC Register Reset MCU S/W Control fS fS/28 8-to-1 MUX CLR WS2~WS0 (fS/28 ~ fS/215) WDT Time-out (28/fS ~ 215/fS) fSYS/4 fSYS fLIRC WDTCLS1~WDTCLS0 RES pin reset “ HALT”Instruction Watchdog Timer |
Аналогичный номер детали - HT46R003B |
|
Аналогичное описание - HT46R003B |
|
|
ссылки URL |
Конфиденциальность |
ALLDATASHEETRU.COM |
Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | обмен ссыками | поиск по производителю 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 |