Cirrus-logic EP93xx Uživatelský manuál Strana 794

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 824
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 793
28-4 DS785UM1
Copyright 2007 Cirrus Logic
GPIO Interface
EP93xx User’s Guide
2
8
2
8
28
In order to stop any spurious interrupts that may occur during the programming of the
GPIOxINTTYPEx registers, the following sequence should be observed:
1. Disable interrupt by writing to GPIO Interrupt Enable register.
2. Set interrupt type by writing GPIOxINTTYPE1/2 register.
3. Clear interrupt by writing to GPIOxEOI register.
4. Enable interrupt by writing to GPIO Interrupt Enable register.
Figure 28-2 and Figure 28-3 illustrate the signal connections for GPIO and EGPIO.
Figure 28-2. Signal Connections Within the Standard GPIO Port Control Logic
(Ports C, D, E, G, H)
DDR OE[7:0]
OE
Standard GPIO Ports C, D, E, G, and H
DR
DATA
DATA[7:0]
EP[7:0]
TISR
OE
to PRDATA[7:0]
Register
Read
Select
TESTINPSEL
TESTRDSEL
0
1
1
0
Zobrazit stránku 793
1 2 ... 789 790 791 792 793 794 795 796 797 798 799 ... 823 824

Komentáře k této Příručce

Žádné komentáře