Datasheet

www.ti.com
GIO Control Registers
25.5.6 GIO Interrupt Flag Register (GIOFLG)
The GIOFLG register contains flags indicating that the transition edge (as set in GIOINTDET and
GIOPOL) has occurred. The flag is also cleared by reading the appropriate interrupt offset register
(GIOOFF1 or GIOOFF2). Figure 25-12 and Table 25-9 describe this register.
Figure 25-12. GIO Interrupt Flag Register (GIOFLG) [offset = 20h]
31 24 23 16
GIOFLG 3 GIOFLG 2
R/WC-0 R/WC-0
15 8 7 0
GIOFLG 1 GIOFLG 0
R/WC-0 R/WC-0
LEGEND: R/W = Read/Write; R = Read only; C = Clear; -n = value after reset
Table 25-9. GIO Interrupt Flag Register (GIOFLG) Field Descriptions
Bit Field Value Description
31-24 GIOFLG 3 GIO flag for pins GIOD[7:0]
0 Read: A transition has not occurred since the last clear.
Write: Writing a 0 to this bit has no effect.
1 Read: The selected transition on the corresponding pin has occurred.
Write: The corresponding bit is cleared to 0.
Note: This bit is also cleared by a read to the corresponding bit in the appropriate offset
register.
23-16 GIOFLG 2 GIO flag for pins GIOC[7:0]
0 Read: A transition has not occurred since the last clear.
Write: Writing a 0 to this bit has no effect.
1 Read: The selected transition on the corresponding pin has occurred.
Write: The corresponding bit is cleared to 0.
Note: This bit is also cleared by a read to the corresponding bit in the appropriate offset
register.
15-8 GIOFLG 1 GIO flag for pins GIOB[7:0]
0 Read: A transition has not occurred since the last clear.
Write: Writing a 0 to this bit has no effect.
1 Read: The selected transition on the corresponding pin has occurred.
Write: The corresponding bit is cleared to 0.
Note: This bit is also cleared by a read to the corresponding bit in the appropriate offset
register.
7-0 GIOFLG 0 GIO flag for pins GIOA[7:0]
0 Read: A transition has not occurred since the last clear.
Write: Writing a 0 to this bit has no effect.
1 Read: The selected transition on the corresponding pin has occurred.
Write: The corresponding bit is cleared to 0.
Note: This bit is also cleared by a read to the corresponding bit in the appropriate offset
register.
NOTE: An interrupt flag gets set when the selected transition happens on the corresponding GIO pin
regardless of whether the interrupt generation is enabled or not. It is recommended to
clear a flag before enabling the interrupt generation for a transition on the corresponding GIO
pin.
1133
SPNU562May 2014 General-Purpose Input/Output (GIO) Module
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated