Programming Sheets
DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4
Freescale Semiconductor D-49
Figure D-34. GPIO Port C
Application: Date:
Programmer:
Sheet 2 of 4
GPIO
2311 987654
PC9 PC8 PC7 PC6 PC5 PC4
Port C Control Register
X:$FFFFBF
Reset = $0
(PCRC)
Read/Write
* = Reserved, Program as 0
*
0
Port C (ESAI)
23 10987654
PDC9 PDC8 PDC7 PDC6 PDC5 PDC4
Port C Direction Register
X:$FFFFBE
Reset = $0
(PRRC)
Read/Write
*
0
23 11 9 8 7 6 4 3
PD9 PD8 PD7 PD6 PD4 PD 3
Port C GPIO Data Register
X:$FFFFBD
Reset = undefined
(PDRC)
Read/Write
*
0
If port pin n is GPIO input, then PDn reflects the value on port pin n
if port pin n is GPIO output, then value written to PDn is reflected on port pin n
3210
10
PC3 PC2 PC1
PC0
11 0123
PDC10 PDC3 PDC2
PDC1PDC0
PD10
10
PD5
5
PD2 PD1
PD0
210
PC10
PCn = 0 & PDCn = 0 -> Port pin PCn disconnected
PCn = 1 & PDCn = 0 -> Port pin PCn configured as input
PCn = 0 & PDCn = 1 -> Port pin PCn configured as output
PCn = 1 & PDCn = 1 -> Port pin configured as ESAI
PC11
PDC11
PD11
* = Reserved, Program as 0
* = Reserved, Program as 0