GIO Control Registers
1194
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
General-Purpose Input/Output (GIO) Module
25.5.3 GIO Interrupt Polarity Register (GIOPOL)
The GIOPOL register configures the polarity of the edge, rising edge or falling edge, that needs to be
detected. When the device is in low-power mode, the GIOPOL register controls the
level
, high or low,
which will be detected by the GIO module.
and
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; -
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.