Port C Registers (Pcrc, Prrc, Pdrc - Motorola DSP56303 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

Application:
GPIO
PCn = 1
PCn = 0
23
6
*
*
0
0
Port C Control Register (PCRC)
Reset = $000000
PDCn = 1
PDCn = 0
23
6
*
*
0
0
Port C Direction Register (PRRC)
Reset = $000000
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
23
6
*
*
0
0
Port C GPIO Data Register (PDRC) X:$FFFFBD Read/Write
Reset = $000000
Figure B-24. Port C Registers (PCRC, PRRC, PDRC)
Port C (ESSI0)
Port Pin configured as ESSI
Port Pin configured as GPIO
5
4
3
2
1
PCC5
PCC4
PCC3
PCC2
PCC1
Port Pin is Output
Port Pin is Input
5
4
3
2
1
PRC5
PRC4
PRC3
PRC2
PRC1
5
4
3
2
1
PDC5
PDC4
PDC3
PDC2
PDC1
Programming Reference
Date:
Programmer:
0
PCC0
X:$FFFFBF Read/Write
0
PRC0
X:$FFFFBE Read/Write
0
PDC0
*
= Reserved, Program as 0
Programming Sheets
Sheet 2 of 4
B-35

Advertisement

Table of Contents
loading

Table of Contents