Datasheet
High-level
Low-level
Interrupt enable
Interrupt disable
GIOFLG
GIOPOL
Rising edge
Falling edge
VBUSP (peripheral bus)
GIODSETx
GIODOUTx
GIODINx
GIODIRx
external pin
GIODCLRx
GIOPDRx
GIOPULDIS
Pull Select
Pull Disable
GIOPSL
GIOINTDET
GIOENASET
GIOENACLR
GIOLVLSET
GIOLVLCLR
Low-level
(level B)
interrupt
handling
(1)
High-level
(level A)
interrupt
handling
(1)
To
VIM
To
VIM
Functional Description of GIO Module
www.ti.com
Rising or falling edge can be selected via the GIOPOL register (Section 25.5.3). If interrupt is required
to be generated on both rising and falling edges, this can be configured via the GIOINTDET register
(Section 25.5.2).
• Select the interrupt priority
Low or High-level interrupt can be selected through the GIOLVLSET and GIOLVLCLR registers
(Section 25.5.5.1 and Section 25.5.5.2).
• Individual interrupt flags are set in the GIOFLG register (Section 25.5.6)
The terminals on GIO ports A through D are all interrupt-capable and can be used to handle either general
I/O functions or interrupt requests. Each interrupt request can be connected to the VIM at one of two
different levels – High (or A) and Low (or B), depending on the VIM channel number. The VIM has an
inherent priority scheme so that a request on a lower number channel has a higher priority than a request
on a higher number channel. Refer the device datasheet to identify the VIM channel numbers for the GIO
level A and level B interrupt requests. Also note that the interrupt priority of level A and level B interrupt
handling blocks can be re-programmed in the VIM.
25.3.3 GIO Block Diagram
The GIO block diagram (see Figure 25-4) represent§s the flow of information through a pin. The shaded
area corresponds to the I/O block; the unshaded area corresponds to the interrupt block.
Figure 25-4. GIO Block Diagram
(1) A single low-level-interrupt-handling block and a single high-level-interrupt-handling block service all of the
interrupt-capable external pins, but only one pin can be serviced by an interrupt block at a time.
1122
General-Purpose Input/Output (GIO) Module SPNU562–May 2014
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated