Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT45F39 Datasheet(PDF) 35 Page - Holtek Semiconductor Inc

Part # HT45F39
Description  Ultrasonic Distance Measurement 8-bit Flash MCU
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45F39 Datasheet(HTML) 35 Page - Holtek Semiconductor Inc

Back Button HT45F39 Datasheet HTML 31Page - Holtek Semiconductor Inc HT45F39 Datasheet HTML 32Page - Holtek Semiconductor Inc HT45F39 Datasheet HTML 33Page - Holtek Semiconductor Inc HT45F39 Datasheet HTML 34Page - Holtek Semiconductor Inc HT45F39 Datasheet HTML 35Page - Holtek Semiconductor Inc HT45F39 Datasheet HTML 36Page - Holtek Semiconductor Inc HT45F39 Datasheet HTML 37Page - Holtek Semiconductor Inc HT45F39 Datasheet HTML 38Page - Holtek Semiconductor Inc HT45F39 Datasheet HTML 39Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 102 page
background image
Rev. 1.10
34
July 01, 2016
Rev. 1.10
35
July 01, 2016
HT45F39/HT45F391
Ultrasonic Distance Measurement 8-bit Flash MCU
HT45F39/HT45F391
Ultrasonic Distance Measurement 8-bit Flash MCU
Bit0
WRF:WDTControlregistersoftwareresetflag
0:Notoccurred
1:Occurred
Thisbitissetto1bytheWDTControlregistersoftwareresetandclearedbythe
applicationprogram.Notethatthisbitcanonlybeclearedto0bytheapplication
program.
Watchdog Timer Operation
TheWatchdogTimerclocksourceisprovidedbytheinternalclock,whichissourcedfromthe
LIRCoscillator.Itisalwaysenable.TheWatchdogTimeroperatesbyprovidingadevicereset
whenitstimeroverflows.Thismeansthatintheapplicationprogramandduringnormaloperation
theuserhastostrategicallycleartheWatchdogTimerbeforeitoverflowstopreventtheWatchdog
Timerfromexecutingareset.Thisisdoneusingtheclearwatchdoginstructions.Iftheprogram
malfunctionsforwhateverreason,jumpstoanunknownlocation,orentersanendlessloop,these
clearinstructionswillnotbeexecutedinthecorrectmanner,inwhichcasetheWatchdogTimerwill
overflowandresetthedevices.WithregardtotheWatchdogTimerenable/disablefunction,thereare
fivebits,WE4~WE0,intheWDTCregistertoofferadditionalenable/disableandresetcontrolof
theWatchdogTimer.
WDT Function Control
WhentheWE4~WE0bitvalueisequalto01010Bor10101B,theWDTfunctionisenabled.
However,iftheWE4~WE0bitsarechangedtoanyothervaluesexcept01010Band10101B,which
maybecausedbyexternalinfluencessuchasenvironmentalnoise,itwillresetthemicrocontroller
after2~3LIRCclockcycles.
WE4 ~ WE0 Bits
WDT Function
01010B or 10101B
Enable
Any other value
Reset MCU
Watchdog Timer Enable/Disable Control
Undernormalprogramoperation,aWatchdogTimertime-outwillinitialiseadeviceresetandset
thestatusbitTO.However,ifthesystemisintheSLEEPMode,whenaWatchdogTimertime-out
occurs,theTObitinthestatusregisterwillbesetandonlytheProgramCounterandStackPointer
willbereset.ThreemethodscanbeadoptedtocleartheWatchdogTimercontents.Thefirstisa
WDTreset,whichmeansavalueotherthan01010Bor10101BiswrittenintotheWE4~WE0bit
locations,thesecondistousetheWatchdogTimersoftwareclearinstructionsandthethirdisvia
aHALTinstruction.ThereisonlyonemethodofusingsoftwareinstructiontocleartheWatchdog
Timerandthatistousethesingle"CLRWDT"instructiontocleartheWDT.
Themaximumtimeoutperiodiswhenthe218divisionratioisselected.Asanexample,witha32
kHzLIRCoscillatorasitssourceclock,thiswillgiveamaximumwatchdogperiodofaround8
secondsforthe218divisionratio,andaminimumtimeoutof7.8msforthe28divisionration.
“
CLR WDT”Instruction
8-stage Divider
WDT Prescaler
WE4~WE0 bits
WDTC Register
Reset MCU
LIRC
fSUB
fL
fSUB/28
8-to-1 MUX
CLR
WS2~WS0
(fSUB/28 ~ fSUB/218)
WDT Time-out
(28/fSUB ~ 218/fSUB)
“
HALT”Instruction
Watchdog Timer



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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