Texas Instruments TMS320C64x DSP manual Video Port Pin Direction Register Pdir, PDIR22, VCTL3IN

Models: TMS320C64x DSP

1 306
Download 306 pages 13.79 Kb
Page 249
Image 249

GPIO Registers

5.1.4Video Port Pin Direction Register (PDIR)

The video port pin direction register (PDIR) is shown in Figure 5–4 and described in Table 5–5. 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.

Figure 5–4. Video Port Pin Direction Register (PDIR)

31

 

 

 

 

 

 

 

24

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R-0

 

 

 

23

22

21

20

19

 

17

16

 

 

 

 

 

 

 

 

 

Reserved

PDIR22

PDIR21

PDIR20

 

 

Reserved

 

PDIR16

 

 

 

 

 

 

 

 

 

R-0

R/W-0

R/W-0

R/W-0

 

 

R-0

 

R/W-0

15

 

13

12

11

10

9

8

 

 

 

 

 

 

 

 

 

 

Reserved

 

PDIR12

 

Reserved

PDIR10

Reserved

PDIR8

 

 

 

 

 

 

 

 

 

 

R-0

 

R/W-0

 

R-0

R/W-0

R-0

R/W-0

7

 

5

4

3

 

1

0

 

 

 

 

 

 

 

 

 

 

Reserved

 

PDIR4

 

 

Reserved

 

PDIR0

 

 

 

 

 

 

 

 

 

 

R-0

 

R/W-0

 

 

R-0

 

R/W-0

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

Table 5–5. Video Port Pin Direction Register (PDIR) Field Descriptions

Bit

field

symval

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

PDIR22

 

 

PDIR22 bit controls the direction of the VCTL3 pin.

 

 

VCTL3IN

0

Pin functions as input.

 

 

VCTL3OUT

1

Pin functions as output.

For CSL implementation, use the notation VP_PDIR_field_symval

5-8

General Purpose I/O Operation

SPRU629

Page 249
Image 249
Texas Instruments TMS320C64x DSP manual Video Port Pin Direction Register Pdir, PDIR22, VCTL3IN, VCTL3OUT