Datasheet
www.ti.com
GIO Control Registers
25.5.3 GIO Interrupt Polarity Register (GIOPOL)
The GIOPOL register controls the polarity - rising edge (low to high) or falling edge (high to low) - that sets
the flag. To ensure recognition of the signal as an edge, the signal must maintain the new level for at least
one VCLK cycle. When the device is in low power mode, the interrupts are no longer triggered by an
edge, but instead by a level. Therefore, in low power mode, the GIOPOL register controls the level, high
or low, which will trigger the interrupt. Figure 25-7 and Table 25-4 describe this register.
Figure 25-7. GIO Interrupt Polarity Register (GIOPOL) [offset = 0Ch]
31 24 23 16
GIOPOL 3 GIOPOL 2
R/W-0 R/W-0
15 8 7 0
GIOPOL 1 GIOPOL 0
R/W-0 R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 25-4. GIO Interrupt Polarity Register (GIOPOL) Field Descriptions
Bit Field Value Description
31-24 GIOPOL 3 Interrupt polarity select for pins GIOD[7:0]
Normal operation (user or privileged mode):
0 The flag is set on the falling edge on the corresponding pin.
1 The flag is set on the rising edge on the corresponding pin.
Low-power mode (GIO module clocks off):
0 The interrupt is triggered on the low level.
1 The interrupt is triggered on the high level.
23-16 GIOPOL 2 Interrupt polarity select for pins GIOC[7:0]
Normal operation (user or privileged mode):
0 The flag is set on the falling edge on the corresponding pin.
1 The flag is set on the rising edge on the corresponding pin.
Low-power mode (GIO module clocks off):
0 The interrupt is triggered on the low level.
1 The interrupt is triggered on the high level.
15-8 GIOPOL 1 Interrupt polarity select for pins GIOB[7:0]
Normal operation (user or privileged mode):
0 The flag is set on the falling edge on the corresponding pin.
1 The flag is set on the rising edge on the corresponding pin.
Low-power mode (GIO module clocks off):
0 The interrupt is triggered on the low level.
1 The interrupt is triggered on the high level.
7-0 GIOPOL 0 Interrupt polarity select for pins GIOA[7:0]
Normal operation (user or privileged mode):
0 The flag is set on the falling edge on the corresponding pin.
1 The flag is set on the rising edge on the corresponding pin.
Low-power mode (GIO module clocks off):
0 The interrupt is triggered on the low level.
1 The interrupt is triggered on the high level.
1127
SPNU562–May 2014 General-Purpose Input/Output (GIO) Module
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated