GPIO
Introduction
MOTOROLA
DSP56012 User’s Manual
7-3
7.1
INTRODUCTION
The General Purpose Input/Output (GPIO) pins are used for control and handshake
functions between the DSP and external circuitry. The GPIO port has eight I/O pins
(GPIO0–GPIO7) that are controlled through a memory-mapped register. Each GPIO
pin may be individually programmed as an output or as an input.
7.2
GPIO PROGRAMMING MODEL
The GPIO pins are controlled through the GPIO control/data Register (GPIOR),
which is illustrated in
Figure 7-1
. The register is described in the following
paragraphs.
7.3
GPIO REGISTER (GPIOR)
The GPIO Register (GPIOR) is a 24-bit read/write control/data register used to
operate and configure the GPIO pins. The control bits in the GPIOR select the
direction of data transfer for each pin, whereas the data bits in the GPIOR are used to
read from or write to the GPIO pins. Hardware reset and software reset clear all the
bits in GPIOR. The GPIOR bits are described in the following paragraphs.
Figure 7-1 GPIO Control/Data Register
GD0
0
GPIOR
X:$FFF7
GD1
1
GD2
2
GD3
3
4
5
6
7
GDD0
8
GDD1
9
GDD2
10
GDD3
11
12
13
14
15
GC0
16
GC1
17
GC2
18
GC3
19
20
21
22
23
AA0441.11
GD4
GD5
GD6
GD7
GDD4
GDD5
GDD6
GDD7
GC4
GC5
GC6
GC7
Summary of Contents for DSP56012
Page 12: ...xii Motorola ...
Page 20: ...xx Motorola ...
Page 21: ...MOTOROLA DSP56012 User s Manual 1 1 SECTION 1 OVERVIEW ...
Page 40: ...1 20 DSP56012 User s Manual MOTOROLA Overview DSP56012 Architectural Overview ...
Page 41: ...MOTOROLA DSP56012 User s Manual 2 1 SECTION 2 SIGNAL DESCRIPTIONS ...
Page 61: ...SECTION 3 MEMORY OPERATING MODES AND INTERRUPTS ...
Page 81: ...MOTOROLA DSP56012 User s Manual 4 1 SECTION 4 PARALLEL HOST INTERFACE ...
Page 148: ...4 68 DSP56012 User s Manual MOTOROLA Parallel Host Interface Host Interface HI ...
Page 149: ...MOTOROLA DSP56012 User s Manual 5 1 SECTION 5 SERIAL HOST INTERFACE ...
Page 179: ...MOTOROLA DSP56012 User s Manual 6 1 SECTION 6 SERIAL AUDIO INTERFACE ...
Page 205: ...MOTOROLA DSP56012 User s Manual 7 1 SECTION 7 GPIO ...
Page 210: ...7 6 DSP56012 User s Manual MOTOROLA GPIO GPIO Register GPIOR ...
Page 211: ...MOTOROLA DSP56012 User s Manual 8 1 SECTION 8 DIGITAL AUDIO TRANSMITTER ...
Page 226: ...8 16 DSP56012 User s Manual MOTOROLA Digital Audio Transmitter DAX Programming Considerations ...
Page 233: ...MOTOROLA DSP56012 User s Manual B 1 APPENDIX B PROGRAMMING REFERENCE ...