| Electronic Components Datasheet Search |
|
HT48R002 Datasheet(PDF) 24 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48R002 Datasheet(HTML) 24 Page - Holtek Semiconductor Inc |
|
24 / 71 page ![]() Rev. 1.11 24 April 11, 2017 Rev. 1.11 25 April 11, 2017 HT48R002/HT48R003 Cost-Effective I/O 8-Bit OTP MCU HT48R002/HT48R003 Cost-Effective I/O 8-Bit OTP MCU Wake-up AfterthesystementerstheSleepMode,itcanbewokenupfromoneofvarioussourceslistedas follows: • Anexternalreset • AnexternalfallingedgeonPortA • Asysteminterrupt • AWDToverflow Ifthesystemiswokenupbyanexternalreset,thedevicewillexperienceafullsystemreset, however,ifthedeviceiswokenupbyaWDToverflow,aWatchdogTimerresetwillbeinitiated. Althoughbothofthesewake-upmethodswillinitiatearesetoperation,theactualsourceofthe wake-upcanbedeterminedbyexaminingtheTOandPDFflags.ThePDFflagisclearedbya systempower-uporexecutingtheclearWatchdogTimerinstructionsandissetwhenexecutingthe “HALT”instruction.TheTOflagissetifaWDTtime-outoccurs,andcausesawake-upthatonly resetstheProgramCounterandStackPointer,theotherflagsremainintheiroriginalstatus. PinsPA0~PA2,PA5canbesetviathePAWUregistertopermitanegativetransitiononthepin towake-upthesystem.WhenaPA0~PA2orPA5pinwake-upoccurs,theprogramwillresume executionattheinstructionfollowingthe“HALT”instruction. Ifthesystemiswokenupbyaninterrupt,thentwopossiblesituationsmayoccur.Thefirstiswhere therelatedinterruptisdisabledortheinterruptisenabledbutthestackisfull,inwhichcasethe programwillresumeexecutionattheinstructionfollowingthe“HALT”instruction.Inthissituation, theinterruptwhichwoke-upthedevicewillnotbeimmediatelyserviced,butwillratherbeserviced laterwhentherelatedinterruptisfinallyenabledorwhenastacklevelbecomesfree.Theother situationiswheretherelatedinterruptisenabledandthestackisnotfull,inwhichcasetheregular interruptresponsetakesplace.IfaninterruptrequestflagissethighbeforeenteringtheSleepMode, thewake-upfunctionoftherelatedinterruptwillbeignored. Nomatterwhatthesourceofthewake-upeventis,onceawake-upeventoccurs,therewillbea timedelaybeforenormalprogramexecutionresumes.Consultthetablefortherelatedtime Wake-up Source Oscillator Type HIRC,LIRC External RES tRSTD + tSST PA Port tSST Interrupt WDT Overflow Note:1.tRSTD(resetdelaytime),tSYS(systemclock) 2.tRSTDispower-ondelay,typicaltime=50ms 3.tSST=16tSYS Wake-up Delay Time |
|
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 |