3 port c data register (pdrc), Port c data register (pdrc) -48, Figure 8-19 – Freescale Semiconductor DSP56366 User Manual

Page 198: Pcrc register -48, Figure 8-20, Prrc register -48, Table 8-12, Pcrc and prrc bits functionality -48, Rresponding port pin. see, Describes the port pin

Advertising
background image

GPIO - Pins and Registers

DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4

8-48

Freescale Semiconductor

8.5.3

Port C Data register (PDRC)

The read/write 24-bit Port C Data Register (see

Figure 8-21

) is used to read or write data to/from ESAI

GPIO pins. Bits PD(11:0) are used to read or write data from/to the corresponding port pins if they are
configured as GPIO. If a port pin [i] is configured as a GPIO input, then the corresponding PD[i] bit
reflects the value present on this pin. If a port pin [i] is configured as a GPIO output, then the value written
into the corresponding PD[i] bit is reflected on this pin. If a port pin [i] is configured as disconnected, the
corresponding PD[i] bit is not reset and contains undefined data.

Table 8-12 PCRC and PRRC Bits Functionality

PDC[i]

PC[i]

Port Pin[i] Function

0

0

disconnected

0

1

GPIO input

1

0

GPIO output

1

1

ESAI

11

10

9

8

7

6

5

4

3

2

1

0

X:$FFFFBF

PC11

PC10

PC9

PC8

PC7

PC6

PC5

PC4

PC3

PC2

PC1

PC0

23

22

21

20

19

18

17

16

15

14

13

12

Reserved bit - read as zero; should be written with zero for future compatibility.

Figure 8-19 PCRC Register

11

10

9

8

7

6

5

4

3

2

1

0

X:$FFFFBE

PDC11 PDC10

PDC9

PDC8

PDC7

PDC6

PDC5

PDC4

PDC3

PDC2

PDC1

PDC0

23

22

21

20

19

18

17

16

15

14

13

12

Reserved bit - read as zero; should be written with zero for future compatibility.

Figure 8-20 PRRC Register

Advertising