Register 4: GPIO Interrupt Both Edges (GPIOIBE), offset 0x408
The
GPIOIBE
register allows both edges to cause interrupts. When the corresponding bit in the
GPIO Interrupt Sense (GPIOIS)
register (see page 761) is set to detect edges, setting a bit in the
GPIOIBE
register configures the corresponding pin to detect both rising and falling edges, regardless
of the corresponding bit in the
GPIO Interrupt Event (GPIOIEV)
register (see page 763). Clearing
a bit configures the pin to be controlled by the
GPIOIEV
register. All bits are cleared by a reset.
Note:
To prevent false interrupts, the following steps should be taken when re-configuring GPIO
edge and interrupt sense registers:
1.
Mask the corresponding port by clearing the
IME
field in the
GPIOIM
register.
2.
Configure the
IS
field in the
GPIOIS
register and the
IBE
field in the
GPIOIBE
register.
3.
Clear the
GPIORIS
register.
4.
Unmask the port by setting the
IME
field in the
GPIOIM
register.
GPIO Interrupt Both Edges (GPIOIBE)
GPIO Port A (AHB) base: 0x4005.8000
GPIO Port B (AHB) base: 0x4005.9000
GPIO Port C (AHB) base: 0x4005.A000
GPIO Port D (AHB) base: 0x4005.B000
GPIO Port E (AHB) base: 0x4005.C000
GPIO Port F (AHB) base: 0x4005.D000
GPIO Port G (AHB) base: 0x4005.E000
GPIO Port H (AHB) base: 0x4005.F000
GPIO Port J (AHB) base: 0x4006.0000
GPIO Port K (AHB) base: 0x4006.1000
GPIO Port L (AHB) base: 0x4006.2000
GPIO Port M (AHB) base: 0x4006.3000
GPIO Port N (AHB) base: 0x4006.4000
GPIO Port P (AHB) base: 0x4006.5000
GPIO Port Q (AHB) base: 0x4006.6000
Offset 0x408
Type RW, reset 0x0000.0000
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
reserved
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
IBE
reserved
RW
RW
RW
RW
RW
RW
RW
RW
RO
RO
RO
RO
RO
RO
RO
RO
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
Description
Reset
Type
Name
Bit/Field
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
0x0000.00
RO
reserved
31:8
GPIO Interrupt Both Edges
Description
Value
Interrupt generation is controlled by the
GPIO Interrupt Event
(GPIOIEV)
register (see page 763).
0
Both edges on the corresponding pin trigger an interrupt.
1
0x00
RW
IBE
7:0
June 18, 2014
762
Texas Instruments-Production Data
General-Purpose Input/Outputs (GPIOs)