Motorola DSP56367 User Manual page 482

24-bit digital signal processor
Table of Contents

Advertisement

Programmer's Reference
Application:
GPIO
Port D Control Register
X:$FFFFD7
Read/Write
Reset = $0
Port D Direction Register
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
Port D GPIO Data Register
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
D-50
Port D (DAX)
23
6
*
*
(PCRD)
0
0
= Reserved, Program as 0
*
23
6
*
*
(PRRD)
0
0
X:$FFFFD6
Read/Write
Reset = $0
= Reserved, Program as 0
*
23
6
*
*
(PDRD)
0
0
X:$FFFFD5
Read/Write
Reset = $0
= Reserved, Program as 0
*
Figure D-35 GPIO Port D
DSP56367
Date:
Programmer:
5
4
3
2
1
PC1
*
*
*
*
0
0
0
0
5
4
3
2
1
PDC1 PDC0
*
*
*
*
0
0
0
0
5
4
3
2
1
*
*
PD1
*
*
0
0
0
0
Sheet 3 of 4
0
PC0
0
0
PD0
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents