www.ti.com
5.1.4VideoPortPinDirectionRegister(PDIR)
GPIORegisters
ThePDIRcontrolsthedirectionofIOpinsinthevideoportforthosepinssetbyPFUNC.Ifabitissetto
1,therelevantpinorpingroupactsasanoutput.Ifabitisclearedto0,thepinorpingroupfunctionsas
aninput.ThePDIRsettingsdonotaffectpinswherethecorrespondingPFUNCbitisnotset.
Thevideoportpindirectionregister(PDIR)isshowninFigure5-4anddescribedinTable5-5.
Figure5-4.VideoPortPinDirectionRegister(PDIR)
3124
Reserved
R-0
23222120191716
ReservedPDIR22PDIR21PDIR20ReservedPDIR16
R-0R/W-0R/W-0R/W-0R-0R/W-0
1513121198
ReservedPDIR12ReservedPDIR8
R-0R/W-0R-0R/W-0
754310
ReservedPDIR4ReservedPDIR0
R-0R/W-0R-0R/W-0
LEGEND:R/W=Read/Write;R=Readonly;-n=valueafterreset
Table5-5.VideoPortPinDirectionRegister(PDIR)FieldDescriptions
Bitfield
(1)
symval
(1)
ValueDescription
31-23Reserved-0Reserved.Thereservedbitlocationisalwaysreadas0.Avaluewrittentothis
fieldhasnoeffect.
22PDIR22OF(value)PDIR22bitcontrolsthedirectionoftheVCTL3pin.
DEFAULT0Pinfunctionsasinput.
VCTL3IN
VCTL3OUT1Pinfunctionsasoutput.
21PDIR21OF(value)PDIR21bitcontrolsthedirectionoftheVCTL2pin.
DEFAULT0Pinfunctionsasinput.
VCTL2IN
VCTL2OUT1Pinfunctionsasoutput.
20PDIR20OF(value)PDIR20bitcontrolsthedirectionoftheVCTL1pin.
DEFAULT0Pinfunctionsasinput.
VCTL1IN
VCTL1OUT1Pinfunctionsasoutput.
19-17Reserved-0Reserved.Thereservedbitlocationisalwaysreadas0.Avaluewrittentothis
fieldhasnoeffect.
16PDIR16OF(value)PDIR16bitcontrolsthedirectionoftheVDATA[19-16]pins.
DEFAULT0Pinsfunctionasinput.
VDATA16TO19IN
VDATA16TO19OUT1Pinsfunctionasoutput.
15-13Reserved-0Reserved.Thereservedbitlocationisalwaysreadas0.Avaluewrittentothis
fieldhasnoeffect.
(1)
ForCSLimplementation,usethenotationVP_PDIR_field_symval
156General-PurposeI/OOperationSPRUEM1–May2007
SubmitDocumentationFeedback