www.ti.com

GPIO Registers

5.1.3 Video Port Pin Function Register (PFUNC)

The video port pin function register (PFUNC) selects the video port pins as GPIO. Each bit controls either one pin or a set of pins. When a bit is set to 1, it enables the pin(s) that map to it as GPIO. The GPIO feature should not be used for pins that are used as part of the capture or display operation. For pins that have been muxed out for use by another peripheral, the PFUNC bits will have no effect.

The VDATA pins are broken into two functional groups: VDATA[9-2] and VDATA[19-12]. Thus, each entire half of the data bus must be configured as either functional pins or GPIO pins. In the case of single BT.656 or raw 8-bit mode, the upper 10 VDATA pins (VDATA[19-12]) can be used as GPIOs. If the video port is disabled, all pins can be used as GPIO.

The video port pin function register (PFUNC) is shown in Figure 5-3and described in Table 5-4.

Figure 5-3. Video Port Pin Function Register (PFUNC)

31

 

 

 

 

 

 

24

 

 

 

Reserved

 

 

 

 

 

 

 

R-0

 

 

 

 

23

22

21

20

19

 

 

16

Reserved

PFUNC22

PFUNC21

PFUNC20

 

Reserved

 

 

R-0

R/W-0

R/W-0

R/W-0

 

R/W-0

 

 

15

 

 

 

11

10

9

8

 

 

Reserved

 

 

PFUNC10

 

Reserved

 

 

R-0

 

 

R/W-0

 

R-0

7

 

 

 

 

 

1

0

 

 

 

Reserved

 

 

 

PFUNC0

 

 

 

R-0

 

 

 

R/W-0

LEGEND: R/W = Read/Write; R = Read only; -n= value after reset

Table 5-4. Video Port Pin Function Register (PFUNC) Field Descriptions

Bit

field (1)

symval (1)

Value

Description

31-23

Reserved

-

0

Reserved. The reserved bit location is always read as 0. A value written to this field

 

 

 

 

has no effect.

22

PFUNC22

OF(value)

 

PFUNC22 bit determines if VCTL3 pin functions as GPIO.

 

 

DEFAULT

0

Pin functions normally.

 

 

NORMAL

 

 

 

 

VCTL3

1

Pin functions as GPIO pin.

21

PFUNC21

OF(value)

 

PFUNC21 bit determines if VCTL2 pin functions as GPIO.

 

 

DEFAULT

0

Pin functions normally.

 

 

NORMAL

 

 

 

 

VCTL2

1

Pin functions as GPIO pin.

20

PFUNC20

OF(value)

 

PFUNC20 bit determines if VCTL1 pin functions as GPIO.

 

 

DEFAULT

0

Pin functions normally.

 

 

NORMAL

 

 

 

 

VCTL1

1

Pin functions as GPIO pin.

19-11

Reserved

-

0

Reserved. The reserved bit location is always read as 0. A value written to this field

 

 

 

 

has no effect.

(1)For CSL implementation, use the notation VP_PFUNC_field_symval

154

General-Purpose I/O Operation

SPRUEM1 –May 2007

 

 

Submit Documentation Feedback

Page 154
Image 154
Texas Instruments TMS320DM648 manual Video Port Pin Function Register Pfunc