Texas Instruments TMS320DM648 Computer Drive User Manual


 
www.ti.com
5.1.11VideoPortPinInterruptStatusRegister(PISTAT)
GPIORegisters
PISTATisaread-onlyregisterthatindicatestheGPIOpinthathasapendinginterrupt.
AbitinPISTATissetwhenthecorrespondingGPIOpinisconfiguredasaninterrupt(thecorresponding
bitinPIENisset,thepinisenabledforGPIOinPFUNC,andthepinisconfiguredasaninputinPDIR)
andtheappropriatetransition(asselectedbythecorrespondingPIPOLbit)occursonthepin.Whenevera
PISTATbitissetto1,theGPIObitinVPISisset.ThePISTATbitsareclearedbywritinga1tothe
correspondingbitinPICLR.Writinga0hasnoeffect.ClearingallthePISTATbitsdoesnotclearthe
GPIObitinVPIS,itmustbeexplicitlycleared.IfanybitsinPISTATarestillsetwhentheGPIObitis
cleared,theGPIObitissetagain.
Thevideoportpininterruptstatusregister(PISTAT)isshowninFigure5-11anddescribedinTable5-12.
Figure5-11.VideoPortPinInterruptStatusRegister(PISTAT)
3124
Reserved
R-0
2322212019181716
ReservedPISTAT22PISTAT21PISTAT20PISTAT19PISTAT18PISTAT17PISTAT16
R-0R-0R-0R-0R-0R-0R-0R-0
15141312111098
PISTAT15PISTAT14PISTAT13PISTAT12ReservedReservedPISTAT9PISTAT8
R-0R-0R-0R-0R-0R-0R-0R-0
76543210
PISTAT7PISTAT6PISTAT5PISTAT4PISTAT3PISTAT2ReservedReserved
R-0R-0R-0R-0R-0R-0R-0R-0
LEGEND:R/W=Read/Write;R=Readonly;-n=valueafterreset
Table5-12.VideoPortPinInterruptStatusRegister(PISTAT)FieldDescriptions
Bitfield
(1)
symval
(1)
ValueDescription
31-23Reserved-0Reserved.Thereservedbitlocationisalwaysreadas0.Avaluewrittentothisfield
hasnoeffect.
22PISTAT22OF(value)PISTAT22bitindicatesifthereisapendinginterruptontheVCTL3pin.
DEFAULT0NopendinginterruptontheVCTL3pin.
NONE
VCTL3INT1PendinginterruptontheVCTL3pin.
21PISTAT21OF(value)PISTAT21bitindicatesifthereisapendinginterruptontheVCTL2pin.
DEFAULT0NopendinginterruptontheVCTL2pin.
NONE
VCTL2INT1PendinginterruptontheVCTL2pin.
20PISTAT20OF(value)PISTAT20bitindicatesifthereisapendinginterruptontheVCTL1pin.
DEFAULT0NopendinginterruptontheVCTL1pin.
NONE
VCTL1INT1PendinginterruptontheVCTL1pin.
19-2PISTAT[19-2]OF(value)PISTAT[19-2]bitindicatesifthereisapendinginterruptonthecorresponding
VDATA[n]pin.
DEFAULT0NopendinginterruptontheVDATA[n]pin.
NONE
VDATAnINT1PendinginterruptontheVDATA[n]pin.
(1)
ForCSLimplementation,usethenotationVP_PISTAT_PISTATn_symval
SPRUEM1May2007General-PurposeI/OOperation165
SubmitDocumentationFeedback