Programming Sheets
DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4
D-50 Freescale Semiconductor
Figure D-35. GPIO Port D
Application: Date:
Programmer:
Sheet 3 of 4
GPIO
236543210
PC1 PC0
Port D Control Register
X:$FFFFD7
Reset = $0
(PCRD)
Read/Write
*
0
* = Reserved, Program as 0
*
0
Port D (DAX)
Port D Direction Register
X:$FFFFD6
Reset = $0
(PRRD)
Read/Write
236543210
PD1 PD0
Port D GPIO Data Register
X:$FFFFD5
Reset = $0
(PDRD)
Read/Write
*
0
*
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
236543210
PDC1 PDC0
PCn = 0 & PDCn = 0 -> Port pin PDn disconnected
PCn = 1 & PDCn = 0 -> Port pin PDn configured as input
PCn = 0 & PDCn = 1 -> Port pin PDn configured as output
PCn = 1 & PDCn = 1 -> Port pin configured as DAX
* = Reserved, Program as 0
* = Reserved, Program as 0
*
0*
0*
0*
0
*
0*
0*
0*
0*
0*
0
*
0*
0*
0*
0