EasyManuals Logo

Holtek HT66F002 User Manual

Default Icon
144 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #108 background imageLoading...
Page #108 background image
Rev. 1.71 108 April 11, 2017 Rev. 1.71 109 April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
Interrupts
Interruptsareanimportantpartofanymicrocontrollersystem.Whenanexternaleventoran
internalfunctionsuchasaTimerModuleoranA/Dconverterrequiresmicrocontrollerattention,
theircorrespondinginterruptwillenforceatemporarysuspensionofthemainprogramallowingthe
microcontrollertodirectattentiontotheirrespectiveneeds.Thedevicescontainseveralexternal
interruptsandinternalinterruptsfunctions.Theexternalinterruptsaregeneratedbytheactionof
theexternalINT0~INT1andINTpin,whiletheinternalinterruptsaregeneratedbyvariousinternal
functionssuchastheTMs,TimeBase,EEPROMandtheA/Dconverter.
Interrupt Registers
Overallinterruptcontrol,whichbasicallymeansthesettingofrequestflagswhencertain
microcontrollerconditionsoccurandthesettingofinterruptenablebitsbytheapplicationprogram,
iscontrolledbyaseriesofregisters,locatedintheSpecialPurposeDataMemory,asshowninthe
accompanyingtable.Thenumberofregistersdependsuponthedevicechosenbutfallintothree
categories.TherstistheINTC0~INTC1registerswhichsetuptheprimaryinterrupts,thesecond
istheMFI0~MFI1registerswhichsetuptheMulti-functioninterrupts.FinallythereisanINTEG
registertosetuptheexternalinterrupttriggeredgetype.
Eachregistercontainsanumberofenablebitstoenableordisableindividualregistersaswellas
interruptflagstoindicatethepresenceofaninterruptrequest.Thenamingconventionofthese
followsaspecicpattern.Firstislistedanabbreviatedinterrupttype,thenthe(optional)numberof
thatinterruptfollowedbyeitheran“E”forenable/disablebitor“F”forrequestag.
Function Enable Bit Request Flag Notes
Global EMI
INT Pin INTE INTF
A/D Converter ADE ADF
Multi-function MF0E MF0F
Time Base TBnE TBnF n=0 or 1
EEPROM DEE DEF
TM
STMA0E STMA0F
STMP0E STMP0F
Interrupt Register Bit Naming Conventions – HT66F002/HT66F0025
Function Enable Bit Request Flag Notes
Global EMI
INT Pin INTE INTF
A/D Converter ADE ADF
Multi-function MFnE MFnF n=0 or 1
Time Base TBnE TBnF n=0 or 1
EEPROM DEE DEF
TM
STMA0E STMA0F
STMP0E STMP0F
PTMA1E PTMA1F
PTMP1E PTMP1F
Interrupt Register Bit Naming Conventions – HT66F003

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Holtek HT66F002 and is the answer not in the manual?

Holtek HT66F002 Specifications

General IconGeneral
BrandHoltek
ModelHT66F002
CategoryControl Unit
LanguageEnglish

Related product manuals