Freescale Semiconductor DSP56364 Bedienungsanleitung Seite 61

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 184
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 60
DSP56364 24-Bit Digital Signal Processor Users Manual, Rev. 2
Freescale Semiconductor 5-1
5 General Purpose Input/Output Port (GPIO)
5.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 4 I/O pins (GPIO0-GPIO3) that are controlled through a
set of memory-mapped registers. Each GPIO pin may be individually programmed as an output or as an
input.
5.2 GPIO Programming Model
The GPIO port is controlled by three registers: Port B Control register (PCRB), Port B Direction register
(PRRB) and Port B GPIO Data register (PDRB). These registers are shown in Figure 5-1, Figure 5-2, and
Figure 5-3.
76543210
PC3 PC2 PC1 PC0 PCRB
15 14 13 12 11 10 9 8 X:$FFFFCF
23 22 21 20 19 18 17 16
Reserved, read as zero, should be written with zero for future
compatibility
Figure 5-1 GPIO Port B Control Register (PCRB)
Seitenansicht 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 183 184

Kommentare zu diesen Handbüchern

Keine Kommentare