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:
The video port pin function register (PFUNC) is shown in Figure
Figure 5-3. Video Port Pin Function Register (PFUNC)
31 |
|
|
|
|
|
| 24 |
|
|
| Reserved |
|
|
|
|
|
|
|
|
|
|
| |
23 | 22 | 21 | 20 | 19 |
|
| 16 |
Reserved | PFUNC22 | PFUNC21 | PFUNC20 |
| Reserved |
|
|
|
|
| |||||
15 |
|
|
| 11 | 10 | 9 | 8 |
|
| Reserved |
|
| PFUNC10 |
| Reserved |
|
|
|
|
| |||
7 |
|
|
|
|
| 1 | 0 |
|
|
| Reserved |
|
|
| PFUNC0 |
|
|
|
|
|
|
LEGEND: R/W = Read/Write; R = Read only;
Table 5-4. Video Port Pin Function Register (PFUNC) Field Descriptions
Bit | field (1) | symval (1) | Value | Description |
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. |
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 | SPRUEM1 | |
|
| Submit Documentation Feedback |