B-29, Figure b-29, Port c registers (pcrc, prrc, pdrc) – Motorola DSP56301 User Manual
Page 353: Gpio
Programming Sheets
Programming Reference
B
-41
Figure B-29. Port C Registers (PCRC, PRRC, PDRC)
Application:
Date:
Programmer:
Sheet 2 of 4
GPIO
23
6
5
4
3
2
1
0
PCC5
PCC4
PCC3
PCC2
PCC1
PCC0
Port C Control Register (PCRC)
X:$FFFFBF Read/Write
Reset = $000000
*
0
*
= Reserved, Program as 0
*
0
PCn = 1
→
Port Pin configured as ESSI
PCn = 0
→
Port Pin configured as GPIO
Port C (ESSI0)
23
6
5
4
3
2
1
0
PRC5
PRC4
PRC3
PRC2
PRC1
PRC0
Port C Direction Register (PRRC)
X:$FFFFBE 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
PDC5
PDC4
PDC3
PDC2
PDC1
PDC0
Port C GPIO Data Register (PDRC)
X:$FFFFBD 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