6 video port pin data output register (pdout) – Texas Instruments TMS320C64x DSP User Manual

Page 254

Advertising
background image

GPIO Registers

5-13

General Purpose I/O Operation

SPRU629

5.1.6

Video Port Pin Data Output Register (PDOUT)

The video port pin data output register (PDOUT) is shown in Figure 5–6 and
described in Table 5–7. The bits of PDOUT determine the value driven on the
corresponding GPIO pin, if the pin is configured as an output. Writes do not
affect pins not configured as GPIO outputs. The bits in PDOUT are set or
cleared by writing to this register directly. A read of PDOUT returns the value
of the register not the value at the pin (that might be configured as an input).
An alternative way to set bits in PDOUT is to write a 1 to the corresponding bit
of PDSET. An alternative way to clear bits in PDOUT is to write a 1 to the corre-
sponding bit of PDCLR.

PDOUT has these aliases:

-

PDSET — writing a 1 to a bit in PDSET sets the corresponding bit in
PDOUT to 1; writing a 0 has no effect and keeps the bits in PDOUT
unchanged.

-

PDCLR — writing a 1 to a bit in PDCLR clears the corresponding bit in
PDOUT to 0; writing a 0 has no effect and keeps the bits in PDOUT
unchanged.

Figure 5–6. Video Port Pin Data Output Register (PDOUT)

31

24

Reserved

R-0

23

22

21

20

19

18

17

16

Reserved

PDOUT22

PDOUT21

PDOUT20

PDOUT19

PDOUT18

PDOUT17

PDOUT16

R-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

15

14

13

12

11

10

9

8

PDOUT15

PDOUT14

PDOUT13

PDOUT12

PDOUT11

PDOUT10

PDOUT9

PDOUT8

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

7

6

5

4

3

2

1

0

PDOUT7

PDOUT6

PDOUT5

PDOUT4

PDOUT3

PDOUT2

PDOUT1

PDOUT0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

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

Advertising