| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45F12 bảng dữ liệu(PDF) 75 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F12 bảng dữ liệu(HTML) 75 Page - Holtek Semiconductor Inc |
|
75 / 104 page ![]() Rev. 0.00 74 �e�te��e� ��� �01� Rev. 0.00 75 �e�te��e� ��� �01� HT45F12 8-Bit Flash MCU with Op Amps & Comparators HT45F12 8-Bit Flash MCU with Op Amps & Comparators Comparatorsswitchcontrol: Thefollowingtableillustratestherelationshipbetweencomparatorscontrolregistersettingsandthe switches: CMP1,CMP2 Control Bits Switch Description Results Connections 1 (Fo�ced to 1) × 1 (Fo�ced to 1) 1 1 ON CNP × ON C1N ON OFF ON OFF OFF In�ut co��on �ode = CNP 1 (Fo�ced to 1) × 1 (Fo�ced to 1) 1 0 ON CNP × ON C1N OFF ON ON OFF OFF In�ut co��on �ode = C1N 1 0 1 0 × ON × C1N ON ON OFF OFF OFF In�ut = CNP� C1N 1 0 0 0 × ON × VH ON ON OFF OFF OFF In�ut = CNP� VH1 0 0 1 0 × OFF × C1N ON ON OFF ON OFF In�ut = A1E� C1N 0 0 1 0 × OFF × C1N ON ON OFF OFF ON In�ut = A�E� C1N Interrupts Interruptsareanimportantpartofanymicrocontrollersystem.Whenanexternaleventoraninternal functionsuchasaTimer/EventCounterrequiresmicrocontrollerattention,theircorresponding interruptwillenforceatemporarysuspensionofthemainprogramallowingthemicrocontrollerto directattentiontotheirrespectiveneeds.Thedevicecontainsseveralexternalinterruptandinternal interruptsfunctionsTheexternalinterruptsaregeneratedbytheactionoftheexternalINT0~INT1 pins,whiletheinternalinterruptsaregeneratedbyvariousinternalfunctionssuchastheComparator, Timer/EventCounteretc. Interrupt Registers Overallinterruptcontrol,whichbasicallymeansinterruptenablingandrequestflagsetting,is controlledbytheINTC0,INTC1,MFIC0andMFIC1registers,whicharelocatedintheData Memory.Bycontrollingtheappropriateenablebitsintheseregisterseachindividualinterruptcan beenabledordisabled.Alsowhenaninterruptoccurs,thecorrespondingrequestflagwillbesetby themicrocontroller.Theglobalenableflagifclearedtozerowilldisableallinterrupts. Interrupt Operation ATimer/EventCounteroverflow,TimeBase0/1,theexternalinterruptlinebeingtriggered,acomparator output,anEEPROMWriteorReadcycleendswillallgenerateaninterruptrequestbysettingtheir correspondingrequestflag,iftheirappropriateinterruptenablebitisset.Whenthishappens,the ProgramCounter,whichstorestheaddressofthenextinstructiontobeexecuted,willbetransferred ontothestack.TheProgramCounterwillthenbeloadedwithanewaddresswhichwillbethevalue ofthecorrespondinginterruptvector.Themicrocontrollerwillthenfetchitsnextinstructionfromthis interruptvector.TheinstructionatthisvectorwillusuallybeaJMPstatementwhichwilljumptoanother sectionofprogramwhichisknownastheinterruptserviceroutine.Hereislocatedthecodetocontrol theappropriateinterrupt.TheinterruptserviceroutinemustbeterminatedwithaRETIstatement,which retrievestheoriginalProgramCounteraddressfromthestackandallowsthemicrocontrollertocontinue withnormalexecutionatthepointwheretheinterruptoccurred. Thevariousinterruptenablebits,togetherwiththeirassociatedrequestflags,areshowninthe accompanyingdiagramwiththeirorderofpriority. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |