www.德州仪器.com
INT12
MUX
INT11
INT2
INT1
CPU
(使能)(标记)
INTx
intx.8
pieierx(8:1) pieifrx(8:1)
MUX
intx.7
intx.6
intx.5
intx.4
intx.3
intx.2
intx.1
从
peripherals 或者
外部
中断
(使能) (标记)
ier(12:1)ifr(12:1)
Global
使能
INTM
1
0
PIEACKx
(使能/标记)
tms320f2808,tms320f2806
tms320f2801,ucd9501
DigitalSignalProcessors
SPRS230F–OCTOBER2003–REVISEDSEPTEMBER2005
figure3-6.multiplexingofinterruptsusingthepieblock
table3-10.pieperipheralinterrupts
(1)
PIEINTERRUPTS
cpuinter-
RUPTS
intx.8intx.7intx.6intx.5intx.4intx.3intx.2intx.1
WAKEINTTINT0ADCINTSEQ2INTSEQ1INT
INT1XINT2XINT1reserved
(lpm/wd)(timer0)(模数转换器)(模数转换器)(adc)
epwm6_tzintepwm5_tzintepwm4_tzintepwm3_tzintepwm2_tzintepwm1_tzint
INT2reservedreserved
(epwm6)(epwm5)(epwm4)(epwm3)(epwm2)(epwm1)
epwm6_intepwm5_intepwm4_intepwm3_intepwm2_intepwm1_int
INT3reservedreserved
(epwm6)(epwm5)(epwm4)(epwm3)(epwm2)(epwm1)
ecap4_intecap3_intecap2_intecap1_int
INT4reservedreservedreservedreserved
(ecap4)(ecap3)(ecap2)(ecap1)
eqep2_inteqep1_int
INT5reservedreservedreservedreservedreservedreserved
(eqep2)(eqep1)
SPITXINTDSPIRXINTDSPITXINTCSPIRXINTCSPITXINTBSPIRXINTBSPITXINTASPIRXINTA
INT6
(spi-d)(spi-d)(spi-c)(spi-c)(spi-b)(spi-b)(spi-a)(spi-a)
INT7reservedreservedreservedreservedreservedreservedreservedreserved
I2CINT2AI2CINT1A
INT8reservedreservedreservedreservedreservedreserved
(i2c-一个)(i2c-一个)
ecan1_intbecan0_intbecan1_intaecan0_intascitxintbscirxintbscitxintascirxinta
INT9
(能-b)(能-b)(能-一个)(能-a)(sci-b)(sci-b)(sci-a)(sci-a)
INT10reservedreservedreservedreservedreservedreservedreservedreserved
INT11reservedreservedreservedreservedreservedreservedreservedreserved
INT12reservedreservedreservedreservedreservedreservedreservedreserved
(1)outofthe96possibleinterrupts,43interruptsarecurrentlyused.theremaininginterruptsarereservedforfuturedevices.这些
interruptscanbeusedassoftwareinterruptsiftheyareenabledatthepieifrxlevel,providednoneoftheinterruptswithinthegroupis
beingusedbyaperipheral.否则,interruptscominginfromperipheralsmaybelostbyaccidentallyclearingtheirflagwhile
modifyingthepieifr.tosummarize,therearetwosafecaseswhenthereservedinterruptscouldbeusedassoftwareinterrupts:
1)noperipheralwithinthegroupisassertinginterrupts.
2)noperipheralinterruptsareassignedtothegroup(examplepiegroup12).
38
FunctionalOverview