Cypress Semiconductor FX2LP Technical Information Seite 281

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 460
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 280
Chapter 13. Input/Output Page 13-7
13.3.1 Port A Alternate Functions
Alternate functions for the Port A pins are selected by bits in three registers, as shown in Tables
13-1 and 13-2.
Table 13-1. Register Bits Which Select Port A Alternate Functions
b7 b6 b5 b4 b3 b2 b1 b0
PORTACFG
(0xE670)
FLAGD
SLCS
1
0
0
0
0
INT1
INT0
IFCONFIG
(0xE601)
IFCLKSRC 3048MHZ IFCLKOE IFCLKPOL ASYNC GSTATE IFCFG1 IFCFG0
WAKEUPCS
(0xE682)
WU2 WU WU2POL WUPOL 0 DPEN WU2EN WUEN
Note 1: Although the SLCS alternate function is selected by bit 6 of PORTACFG, that function does not appear on
pin PA6. Instead, the SLCS function appears on pin PA7 (see Table13-2).
Table 13-2. Port A Alternate-Function Configuration
Port A Pin
Alternate
Function
Alternate Function
is Selected By...
Alternate Function
is Described in...
PA.0 INT0 PORTACFG.0 = 1 Chapter 4
PA.1 INT1 PORTACFG.1 = 1 Chapter 4
PA.2 SLOE IFCFG1:0 = 11 Chapter 9
PA.3
WU2
1
WU2EN = 1 Chapter 6
PA.4 FIFOADR0 IFCFG1:0 = 11 Chapter 9
PA.5 FIFOADR1 IFCFG1:0 = 11 Chapter 9
PA.6 PKTEND IFCFG1:0 = 11 Chapter 9
PA.7
FLAGD
2
PORTACFG.7 = 1 Chapter 9
SLCS
3
PORTACFG.6 = 1 and
IFCFG1:0 = 11
Chapter 9
Note 1: When PA.3 is configured for alternate function WU2, it continues to function as a general-purpose input pin
as well. See Section 6.4.1, "WU2 Pin" for more information.
Note 2: Although PA.7s alternate function FLAGD is selected via the PORTACFG register, the state of the FLAGD
output is undefined unless IFCFG1:0 = 11.
Note 3: FLAGD takes priority over SLCS if PORTACFG.6 and PORTACFG.7 are both set to 1.
Seitenansicht 280
1 2 ... 276 277 278 279 280 281 282 283 284 285 286 ... 459 460

Kommentare zu diesen Handbüchern

Keine Kommentare