Texas Instruments TMS320x28xx Network Router User Manual


 
www.ti.com
Trip-ZoneSubmoduleControlandStatusRegisters
Table4-19.Trip-ZoneEnableInterruptRegister(TZEINT)FieldDescriptions(continued)
BitsNameValueDescription
1EnableInterruptgeneration;aone-shottripeventwillcauseaEPWMx_TZINTPIEinterrupt.
(1)
1CBCTrip-zoneCycle-by-CycleInterruptEnable
0Disablecycle-by-cycleinterruptgeneration.
1Enableinterruptgeneration;acycle-by-cycletripeventwillcauseanEPWMx_TZINTPIE
interrupt.
(1)
0ReservedReserved
(1)
ThePeripheralInterruptExpansion(PIE)moduleisdescribedinthespecificdeviceversionoftheSystemControlandInterrupts
ReferenceGuidelistedinSection1.
Figure4-20.Trip-ZoneFlagRegister(TZFLG)
158
Reserved
R-0
73210
ReservedOSTCBCINT
R-0R-0R-0R-0
LEGEND:R/W=Read/Write;R=Readonly;-n=valueafterreset
Table4-20.Trip-ZoneFlagRegister(TZFLG)FieldDescriptions
BitsNameValueDescription
15-3ReservedReserved
2OSTLatchedStatusFlagforAOne-ShotTripEvent
0Noone-shottripeventhasoccurred.
1Indicatesatripeventhasoccurredonapinselectedasaone-shottripsource.
ThisbitisclearedbywritingtheappropriatevaluetotheTZCLRregister(Table4-21).
1CBCLatchedStatusFlagforCycle-By-CycleTripEvent
0Nocycle-by-cycletripeventhasoccurred.
1Indicatesatripeventhasoccurredonapinselectedasacycle-by-cycletripsource.The
TZFLG[CBC]bitwillremainsetuntilitismanuallyclearedbytheuser.Ifthecycle-by-cycletrip
eventisstillpresentwhentheCBCbitiscleared,thenCBCwillbeimmediatelysetagain.The
specifiedconditiononthepinsisautomaticallyclearedwhentheePWMtime-basecounter
reacheszero(TBCTR=0x0000)ifthetripconditionisnolongerpresent.Theconditiononthe
pinsisonlyclearedwhentheTBCTR=0x0000nomatterwhereinthecycletheCBCflagis
cleared.
ThisbitisclearedbywritingtheappropriatevaluetotheTZCLRregister(Table4-21).
0INTLatchedTripInterruptStatusFlag
0Indicatesnointerrupthasbeengenerated.
1IndicatesanEPWMx_TZINTPIEinterruptwasgeneratedbecauseofatripcondition.
NofurtherEPWMx_TZINTPIEinterruptswillbegenerateduntilthisflagiscleared.Ifthe
interruptflagisclearedwheneitherCBCorOSTisset,thenanotherinterruptpulsewillbe
generated.Clearingallflagbitswillpreventfurtherinterrupts.
ThisbitisclearedbywritingtheappropriatevaluetotheTZCLRregister(Table4-21).
SPRU791DNovember2004RevisedOctober2007Registers109
SubmitDocumentationFeedback