Notes
PES24T3G2 User Manual
4 - 1
February 22, 2012
®
Chapter 4
General Purpose I/O
Introduction
The PES24T3G2 has 8 General Purpose I/O (GPIO) pins that may be individually configured as:
general purpose inputs, general purpose outputs, or alternate functions.GPIO pins are controlled by the
General Purpose I/O Function (GPIOFUNC), General Purpose I/O Configuration (GPIOCFG), and General
Purpose I/O Data (GPIOD) registers in the upstream port’s PCI configuration space. As shown in Table 4.1,
6 GPIO pins are shared with other on-chip functions. The GPIO Function (GPIOFUNC) register controls
whether a GPIO bit operates as a general purpose I/O or as the specified alternate function.
After reset, all GPIO pins default to the GPIO input function. GPIO pins configured as GPIO inputs are
sampled no more frequently than once every 128 ns and may be treated as asynchronous inputs. When a
GPIO pin is configured to use the GPIO function, the unneeded alternate function associated with the pin is
held in an inactive state by internal logic. Care should be exercised when configuring the GPIO pins as
outputs since an incorrect configuration could cause damage to external components as well as the
PES24T3G2.
GPIO Configuration
Associated with each GPIO pin is a bit in the GPIOFUNC, GPIOCFG and GPIOD registers. Table 4.2
summarizes the configuration of GPIO pins.
GPIO Pin Configured as an Input
When configured as an input in the GPIOCFG register and as a GPIO function in the GPIOFUNC
register, the GPIO pin is sampled and registered in the GPIOD register. The value of the input pin can be
determined at any time by reading the GPIOD register. Note that the value in this register corresponds to
the value of the pin irrespective of whether the pin is configured as a GPIO input, GPIO output, or alternate
function.
GPIO
Pin
Alternate
Function
Pin Name
Alternate Function
Description
Alternate
Function
Pin Type
0
PE2RSTN
Reset output for downstream port 2
Output
1
PE4RSTN
Reset output for downstream port 4
Output
2
IOEXPINTN0
SMBus I/O expander interrupt 0
Input
3
IOEXPINTN1
SMBus I/O expander interrupt 1
Input
4
IOEXPINTN2
SMBus I/O expander interrupt 2
Input
7
GPEN
General purpose event output
Output
Table 4.1 General Purpose I/O Pin Alternate Function
GPIOFUNC
GPIOCFG
Pin Function
0
0
GPIO input
0
1
GPIO output
1
don’t care
Alternate function
Table 4.2 GPIO Pin Configuration
Содержание 89HPES24T3G2ZBAL
Страница 8: ...IDT PES24T3G2 User Manual 6 February 22 2012 Notes...
Страница 12: ...IDT Table of Contents PES24T3G2 User Manual iv February 22 2012 Notes...
Страница 14: ...IDT List of Tables PES24T3G2 User Manual vi February 22 2012 Notes...
Страница 16: ...IDT List of Figures PES24T3G2 User Manual viii February 22 2012 Notes...
Страница 20: ...IDT Register List PES24T3G2 User Manual xii February 22 2012 Notes...
Страница 32: ...IDT PES24T3G2 Device Overview PES24T3G2 User Manual 1 12 February 22 2012 Notes...
Страница 72: ...IDT SMBus Interfaces PES24T3G2 User Manual 5 20 February 22 2012 Notes...
Страница 76: ...IDT Power Management PES24T3G2 User Manual 6 4 February 22 2012 Notes...
Страница 156: ...IDT Configuration Registers PES24T3G2 User Manual 8 74 February 22 2012 Notes...