Datasheet

Enable pull?
Power-On Reset
Configure as input/output?
Clear corresponding bits in GIODIR to 0 Set corresponding bits in GIODIR to 1
Open drain?
Pull up/down?
Down
Output 1 or 0?
Release Peripheral Reset by setting PENA bit in
Clock Control Register (0xFFFFFFD0)
Enable clock to GIO through PCR
(Check device datasheet for the peripheral select)
Bring GIO out of reset by writing 1 to GIOGCR0
Input
Output
No
Yes
No
Yes
Set corresponding bits in
to 1 GIOPULDIS
Clear corresponding bits in
to 0 GIOPULDIS
Set corresponding bits in
to 1 GIOPDR
Clear corresponding bits in
to 0 GIOPDR
1
0
Clear corresponding
bits in GIOPSL to 0
Set corresponding bits
in to GIOPSL to 1
Read corresponding bits in GIODIN, getting input value
Write 1 to corresponding bits
in GIODSET
Write 1 to corresponding bits
in GIODCLR
www.ti.com
Quick Start Guide
25.2 Quick Start Guide
The GIO module comprises two separate components: an input/output (I/O) block and an interrupt
generation block. Figure 25-2 and Figure 25-3 show what the user should do after reset to configure the
GIO module as I/O or for generating interrupts.
Figure 25-2. I/O Function Quick Start Flow Chart
1119
SPNU562May 2014 General-Purpose Input/Output (GIO) Module
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated