Motorola DSP56305 User Manual page 640

24-bit digital signal processor
Table of Contents

Advertisement

PROGRAMMING REFERENCE
Application:
GPIO
Port D Control Register
Port D Direction Register
Port D GPIO Data Register
Figure D-24 Port D Registers (PCRD, PRRD, PDRD)
D-40
Port D (ESSI1)
23
6
*
*
(PCRD)
0
0
X:$FFFFAF
ReadWrite
Reset = $0
PCn = 1 → Port Pin configured as ESSI
PCn = 0 → Port Pin configured as GPIO
23
6
*
*
(PRRD)
0
0
X:$FFFFAE
ReadWrite
Reset = $0
PDCn = 1 → Port Pin is Output
PDCn = 0 → Port Pin is Input
23
6
*
*
(PDRD)
0
0
X:$FFFFAD
ReadWrite
Reset = $0
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
*
DSP56305 User's Manual
Date:
Programmer:
5
4
3
2
1
PC5
PC4
PC3
PC2
PC1
5
4
3
2
1
PDC5
PDC4
PDC3
PDC2
PDC1
5
4
3
2
1
PD5
PD4
PD3
PD2
PD1
Sheet 3 of 4
0
PC0
0
PDC0
0
PD0
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents