Notes
PES16T4AG2 User Manual
4 - 1
May 23, 2013
®
Chapter 4
General Purpose I/O
Introduction
The PES16T4AG2 has 7 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,
5 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
PES16T4AG2.
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
2
IOEXPINTN0
SMBus I/O expander interrupt 0
Input
7
GPEN
General purpose event output
Output
8
PE1RSTN
Reset output for downstream port 1
Output
9
PE3RSTN
Reset output for downstream port 3
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
Содержание 89HPES16T4AG2
Страница 8: ...IDT PES16T4AG2 User Manual 6 May 23 2013 Notes...
Страница 12: ...IDT Table of Contents PES16T4AG2 User Manual iv May 23 2013 Notes...
Страница 14: ...IDT List of Tables PES16T4AG2 User Manual vi May 23 2013 Notes...
Страница 16: ...IDT List of Figures PES16T4AG2 User Manual viii May 23 2013 Notes...
Страница 20: ...IDT Register List PES16T4AG2 User Manual xii May 23 2013 Notes...
Страница 72: ...IDT SMBus Interfaces PES16T4AG2 User Manual 5 20 May 23 2013 Notes...
Страница 76: ...IDT Power Management PES16T4AG2 User Manual 6 4 May 23 2013 Notes...
Страница 156: ...IDT Configuration Registers PES16T4AG2 User Manual 8 74 May 23 2013 Notes...