www.ti.com
GPIO Registers
5.1.4 Video Port Pin Direction Register (PDIR)
The PDIR controls the direction of IO pins in the video port for those pins set by PFUNC. If a bit is set to 1, the relevant pin or pin group acts as an output. If a bit is cleared to 0, the pin or pin group functions as an input. The PDIR settings do not affect pins where the corresponding PFUNC bit is not set.
The video port pin direction register (PDIR) is shown in Figure
Figure 5-4. Video Port Pin Direction Register (PDIR)
31 |
|
|
|
|
| 24 |
|
|
|
| Reserved |
|
|
|
|
|
|
|
| |
23 | 22 | 21 | 20 | 19 | 17 | 16 |
Reserved | PDIR22 | PDIR21 | PDIR20 | Reserved |
| PDIR16 |
| ||||||
15 |
| 13 | 12 | 11 | 9 | 8 |
| Reserved |
| PDIR12 | Reserved |
| PDIR8 |
|
|
| ||||
7 |
| 5 | 4 | 3 | 1 | 0 |
| Reserved |
| PDIR4 | Reserved |
| PDIR0 |
|
|
|
LEGEND: R/W = Read/Write; R = Read only;
Table 5-5. Video Port Pin Direction Register (PDIR) 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 | PDIR22 | OF(value) |
| PDIR22 bit controls the direction of the VCTL3 pin. |
|
| DEFAULT | 0 | Pin functions as input. |
|
| VCTL3IN |
|
|
|
| VCTL3OUT | 1 | Pin functions as output. |
21 | PDIR21 | OF(value) |
| PDIR21 bit controls the direction of the VCTL2 pin. |
|
| DEFAULT | 0 | Pin functions as input. |
|
| VCTL2IN |
|
|
|
| VCTL2OUT | 1 | Pin functions as output. |
20 | PDIR20 | OF(value) |
| PDIR20 bit controls the direction of the VCTL1 pin. |
|
| DEFAULT | 0 | Pin functions as input. |
|
| VCTL1IN |
|
|
|
| VCTL1OUT | 1 | Pin functions as output. |
Reserved | - | 0 | Reserved. The reserved bit location is always read as 0. A value written to this | |
|
|
|
| field has no effect. |
16 | PDIR16 | OF(value) |
| PDIR16 bit controls the direction of the |
|
| DEFAULT | 0 | Pins function as input. |
|
| VDATA16TO19IN |
|
|
|
| VDATA16TO19OUT | 1 | Pins function as output. |
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_PDIR_field_symval
156 | SPRUEM1 | |
|
| Submit Documentation Feedback |