B-30, Figure b-30, Port d registers (pcrd, prrd, pdrd) – Motorola DSP56301 User Manual
Page 354: Gpio
Programming Sheets
B
-42
DSP56301 User’s Manual
Figure B-30. Port D Registers (PCRD, PRRD, PDRD)
Application:
Date:
Programmer:
Sheet 3 of 4
GPIO
Port D (ESSI1)
23
6
5
4
3
2
1
0
PCD5
PCD4
PCD3
PCD2
PCD1
PCD0
Port D Control Register (PCRD)
X:$FFFFAF Read/Write
Reset = $000000
*
0
*
0
PCn = 1
→
Port Pin configured as ESSI
PCn = 0
→
Port Pin configured as GPIO
23
6
5
4
3
2
1
0
PRD5
PRD4
PRD3
PRD2
PRD1
PRD0
Port D Direction Register (PRRD)
X:$FFFFAE Read/Write
Reset = $000000
*
0
*
0
PDCn = 1
→
Port Pin is Output
PDCn = 0
→
Port Pin is Input
23
6
5
4
3
2
1
0
PDD5
PDD4
PDD3
PDD2
PDD1
PDD0
Port D GPIO Data Register (PDRD)
X:$FFFFAD Read/Write
Reset = $000000
*
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
*
= Reserved, Program as 0