Electronic Components Datasheet Search
  English  ▼

X  

HT68F003 Datasheet(PDF) 93 Page - Holtek Semiconductor Inc

Part # HT68F003
Description  Cost-Effective Flash MCU with EEPROM
PDF  119 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT68F003 Datasheet(HTML) 93 Page - Holtek Semiconductor Inc

Back Button HT68F003 Datasheet HTML 89Page - Holtek Semiconductor Inc HT68F003 Datasheet HTML 90Page - Holtek Semiconductor Inc HT68F003 Datasheet HTML 91Page - Holtek Semiconductor Inc HT68F003 Datasheet HTML 92Page - Holtek Semiconductor Inc HT68F003 Datasheet HTML 93Page - Holtek Semiconductor Inc HT68F003 Datasheet HTML 94Page - Holtek Semiconductor Inc HT68F003 Datasheet HTML 95Page - Holtek Semiconductor Inc HT68F003 Datasheet HTML 96Page - Holtek Semiconductor Inc HT68F003 Datasheet HTML 97Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 93 / 119 page
background image
Rev. 1.41
92
April 11, 2017
Rev. 1.41
93
April 11, 2017
HT68F002/HT68F0025/HT68F003
Cost-Effective Flash MCU with EEPROM
HT68F002/HT68F0025/HT68F003
Cost-Effective Flash MCU with EEPROM
Interrupt Operation
Whentheconditionsforaninterrupteventoccur,suchasaTMComparatorPorComparatorA
matchetc,therelevantinterruptrequestflagwillbeset.Whethertherequestflagactuallygenerates
aprogramjumptotherelevantinterruptvectorisdeterminedbytheconditionoftheinterruptenable
bit.Iftheenablebitissethighthentheprogramwilljumptoitsrelevantvector;iftheenablebitis
zerothenalthoughtheinterruptrequestflagissetanactualinterruptwillnotbegeneratedandthe
programwillnotjumptotherelevantinterruptvector.Theglobalinterruptenablebit,ifclearedto
zero,willdisableallinterrupts.
Whenaninterruptisgenerated,theProgramCounter,whichstorestheaddressofthenextinstruction
tobeexecuted,willbetransferredontothestack.TheProgramCounterwillthenbeloadedwitha
newaddresswhichwillbethevalueofthecorrespondinginterruptvector.Themicrocontrollerwill
thenfetchitsnextinstructionfromthisinterruptvector.Theinstructionatthisvectorwillusually
bea"JMP"whichwilljumptoanothersectionofprogramwhichisknownastheinterruptservice
routine.Hereislocatedthecodetocontroltheappropriateinterrupt.Theinterruptserviceroutine
mustbeterminatedwitha"RETI",whichretrievestheoriginalProgramCounteraddressfrom
thestackandallowsthemicrocontrollertocontinuewithnormalexecutionatthepointwherethe
interruptoccurred.
Thevariousinterruptenablebits,togetherwiththeirassociatedrequestflags,areshowninthe
accompanyingdiagramswiththeirorderofpriority.Someinterruptsourceshavetheirown
individualvectorwhileotherssharethesamemulti-functioninterruptvector.Onceaninterrupt
subroutineisserviced,alltheotherinterruptswillbeblocked,astheglobalinterruptenablebit,
EMIbitwillbeclearedautomatically.Thiswillpreventanyfurtherinterruptnestingfromoccurring.
However,ifotherinterruptrequestsoccurduringthisinterval,althoughtheinterruptwillnotbe
immediatelyserviced,therequestflagwillstillberecorded.
Ifaninterruptrequiresimmediateservicingwhiletheprogramisalreadyinanotherinterruptservice
routine,theEMIbitshouldbesetafterenteringtheroutine,toallowinterruptnesting.Ifthestack
isfull,theinterruptrequestwillnotbeacknowledged,eveniftherelatedinterruptisenabled,until
theStackPointerisdecremented.Ifimmediateserviceisdesired,thestackmustbepreventedfrom
becomingfull.Incaseofsimultaneousrequests,theaccompanyingdiagramshowstheprioritythat
isapplied.Alloftheinterruptrequestflagswhensetwillwake-upthedeviceifitisinSLEEPor
IDLEMode,howevertopreventawake-upfromoccurringthecorrespondingflagshouldbeset
beforethedeviceisinSLEEPorIDLEMode.
INT Pin
Time Base 0
INT0F
TB0F
INT0E
TB0E
EMI
04H
EMI
08H
EEPROM
DEF
DEE
0CH
10H
14H
1CH
Interrupt
Name
Request
Flags
Enable
Bits
Master
Enable
Vector
EMI auto disabled in ISR
Priority
High
Low
M. Funct. 1
MF1F
MF1E
Interrupts contained within
Multi-Function Interrupts
xxE
Enable Bits
xxF
Request Flag, auto reset in ISR
Legend
xxF
Request Flag, no auto reset in ISR
EMI
EMI
STM P
STMP0F
STMP0E
STM A
STMA0F
STMA0E
EMI
EMI
Time Base 1
TB1F
TB1E
M. Funct. 0
MF0F
MF0E
PTM P
PTMP1F
PTMP1E
PTM A
PTMA1F
PTMA1E
HT68F003 only
Interrupt
Name
Request
Flags
Enable
Bits
Interrupt Structure



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