Texas Instruments TMS320DM648 Computer Drive User Manual


 
www.ti.com
5.1.3VideoPortPinFunctionRegister(PFUNC)
GPIORegisters
Thevideoportpinfunctionregister(PFUNC)selectsthevideoportpinsasGPIO.Eachbitcontrolseither
onepinorasetofpins.Whenabitissetto1,itenablesthepin(s)thatmaptoitasGPIO.TheGPIO
featureshouldnotbeusedforpinsthatareusedaspartofthecaptureordisplayoperation.Forpinsthat
havebeenmuxedoutforusebyanotherperipheral,thePFUNCbitswillhavenoeffect.
TheVDATApinsarebrokenintotwofunctionalgroups:VDATA[9-2]andVDATA[19-12].Thus,eachentire
halfofthedatabusmustbeconfiguredaseitherfunctionalpinsorGPIOpins.Inthecaseofsingle
BT.656orraw8-bitmode,theupper10VDATApins(VDATA[19-12])canbeusedasGPIOs.Ifthevideo
portisdisabled,allpinscanbeusedasGPIO.
Thevideoportpinfunctionregister(PFUNC)isshowninFigure5-3anddescribedinTable5-4.
Figure5-3.VideoPortPinFunctionRegister(PFUNC)
3124
Reserved
R-0
232221201916
ReservedPFUNC22PFUNC21PFUNC20Reserved
R-0R/W-0R/W-0R/W-0R/W-0
15111098
ReservedPFUNC10Reserved
R-0R/W-0R-0
710
ReservedPFUNC0
R-0R/W-0
LEGEND:R/W=Read/Write;R=Readonly;-n=valueafterreset
Table5-4.VideoPortPinFunctionRegister(PFUNC)FieldDescriptions
Bitfield
(1)
symval
(1)
ValueDescription
31-23Reserved-0Reserved.Thereservedbitlocationisalwaysreadas0.Avaluewrittentothisfield
hasnoeffect.
22PFUNC22OF(value)PFUNC22bitdeterminesifVCTL3pinfunctionsasGPIO.
DEFAULT0Pinfunctionsnormally.
NORMAL
VCTL31PinfunctionsasGPIOpin.
21PFUNC21OF(value)PFUNC21bitdeterminesifVCTL2pinfunctionsasGPIO.
DEFAULT0Pinfunctionsnormally.
NORMAL
VCTL21PinfunctionsasGPIOpin.
20PFUNC20OF(value)PFUNC20bitdeterminesifVCTL1pinfunctionsasGPIO.
DEFAULT0Pinfunctionsnormally.
NORMAL
VCTL11PinfunctionsasGPIOpin.
19-11Reserved-0Reserved.Thereservedbitlocationisalwaysreadas0.Avaluewrittentothisfield
hasnoeffect.
(1)
ForCSLimplementation,usethenotationVP_PFUNC_field_symval
154General-PurposeI/OOperationSPRUEM1May2007
SubmitDocumentationFeedback