ETIC 2230 Guia do Utilizador Página 123

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 148
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 122
Rev. 1.10 122 November 14, 2014 Rev. 1.10 123 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
Multi-function Interrupt
WithinthisdevicethereareuptothreeMulti-functioninterrupts.Unliketheotherindependent
interrupts,theseinterruptshavenoindependentsource,butratherareformedfromotherexisting
interruptsources,namelytheTMInterrupts,LVDinterruptandEEPROMInterrupt.
AMulti-functioninterruptrequestwilltakeplacewhenanyoftheMulti-functioninterruptrequest
ags,MF0F~MF2Fareset.TheMulti-functioninterruptagswillbesetwhenanyoftheirincluded
functionsgenerateaninterruptrequestag.Toallowtheprogramtobranchtoitsrespectiveinterrupt
vectoraddress,whentheMulti-functioninterruptisenabledandthestackisnotfull,andeitherone
oftheinterruptscontainedwithineachofMulti-functioninterruptoccurs,asubroutinecalltooneof
theMulti-functioninterruptvectorswilltakeplace.Whentheinterruptisserviced,therelatedMulti-
Functionrequestag,willbeautomaticallyresetandtheEMIbitwillbeautomaticallyclearedto
disableotherinterrupts.
However,itmustbenotedthat,althoughtheMulti-functionInterruptagswillbeautomatically
resetwhentheinterruptisserviced,therequestflagsfromtheoriginalsourceoftheMulti-
functioninterrupts,namelytheTMInterrupts,LVDinterruptandEEPROMInterruptwillnotbe
automaticallyresetandmustbemanuallyresetbytheapplicationprogram.
OCP Interrupt
TheOCPInterruptiscontrolledbydetectingahugecurrent.AnOCPInterruptrequestwilltake
placewhentheOCPInterruptrequestflag,OCPF,isset,whichoccurswhenahugecurrentis
detected.Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobal
interruptenablebit,EMI,andOCPInterruptenablebit,OCPE,mustrstbeset.Whentheinterrupt
isenabled,thestackisnotfullandahugecurrentisdetected,asubroutinecalltotheOCPInterrupt
vector,willtakeplace.Whentheinterruptisserviced,theOCPInterruptflag,OCPF,willbe
automaticallycleared.TheEMIbitwillalsobeautomaticallyclearedtodisableotherinterrupts.
Demodulation Interrupt
TheDemodulationInterruptiscontrolledbythedemodulationprocess.AdemodulationInterrupt
requestwilltakeplacewhentheDemodulationInterruptrequestag,DEMF,isset,whichoccurs
whentheDemodulationprocessnishes.Toallowtheprogramtobranchtoitsrespectiveinterrupt
vectoraddress,theglobalinterruptenablebit,EMI,andDemodulationInterruptenablebit,DEME,
mustrstbeset.Whentheinterruptisenabled,thestackisnotfullandDemodulationprocesshas
ended,asubroutinecalltotheDemodulationInterruptvector,willtakeplace.Whentheinterruptis
serviced,theDemodulationInterruptag,DEMF,willbeautomaticallycleared.TheEMIbitwill
alsobeautomaticallyclearedtodisableotherinterrupts.
A/D Converter Interrupt
TheA/DConverterInterruptiscontrolledbytheterminationofanA/Dconversionprocess.AnA/
DConverterInterruptrequestwilltakeplacewhentheA/DConverterInterruptrequestag,ADF,
isset,whichoccurswhentheA/Dconversionprocessnishes.Toallowtheprogramtobranchtoits
respectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI,andA/DInterruptenablebit,
ADE,mustrstbeset.Whentheinterruptisenabled,thestackisnotfullandtheA/Dconversion
processhasended,asubroutinecalltotheA/DConverterInterruptvector,willtakeplace.Whenthe
interruptisserviced,theA/DConverterInterruptag,ADF,willbeautomaticallycleared.TheEMI
bitwillalsobeautomaticallyclearedtodisableotherinterrupts.
Vista de página 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 147 148

Comentários a estes Manuais

Sem comentários