
EZ-USB FX2 Technical Reference Manual
Page 13-10 EZ-USB FX2 Technical Reference Manual v2.1
13.3.4 Port E Alternate Functions
Each Port E pin may be individually configured for an alternate function by setting a bit in the
PORTECFG register.
If the GSTATE bit in the IFCONFIG register is set to 1, the PE.2:0 pins are automatically config-
ured as GPIF Status pins GSTATE[2:0], regardless of the PORTECFG.2:0 settings. In other
words, GSTATE overrides PORTECFG.2:0. See Tables 13-8 and 13-9.
Table 13-8. Register Bits Which Select Port E Alternate Functions
b7 b6 b5 b4 b3 b2 b1 b0
PORTECFG
(0xE671)
GPIFA8 T2EX INT6 RXD1OUT RXD0OUT T2OUT T1OUT T0OUT
IFCONFIG
(0xE601)
IFCLKSRC 3048MHZ IFCLKOE IFCLKPOL ASYNC GSTATE IFCFG1 IFCFG0
Table 13-9. Port E Alternate-Function Configuration
Port E Pin
Alternate
Function
Alternate Function
is Selected By...
Alternate Function
is Described in...
PE.0
T0OUT
1
PORTECFG.0 = 1 and
GSTATE = 0
Chapter 14
PE.1
T1OUT
1
PORTECFG.1 = 1 and
GSTATE = 0
Chapter 14
PE.2
T2OUT
1
PORTECFG.2 = 1 and
GSTATE = 0
Chapter 14
PE.3
RXD0OUT
PORTECFG.3 = 1 Chapter 14
PE.4
RXD1OUT
PORTECFG.4 = 1 Chapter 14
PE.5
INT6
PORTECFG.5 = 1 Chapter 4
PE.6
T2EX
PORTECFG.6 = 1 Chapter 14
PE.7
GPIFA8
2
PORTECFG.7 = 1 Chapter 10
Note 1: If GSTATE is set to 1, these settings are overridden and PE.2:0 are all automatically configured as GPIF
Status pins (see Chapter 10).
Note 2: Although the PE.7 alternate function GPIFA8 is selected via the PORTECFG register, the state of the
GPIFA8 output is undefined unless IFCFG1:0 = 10.
Kommentare zu diesen Handbüchern