RM0082
BS_General purpose input/output (GPIO)
Doc ID 018672 Rev 1
331/844
18.5.6 GPIOIBE
register
The GPIOIBE (Interrupt Both Edges) is a RW register which allows to configure each pin to
detect both rising and falling edges for interrupt triggering, in case edge detection for that pin
is enabled (clearing relevant bit in GPIOIS register). The GPIOIBE bit assignments are given
in
.
18.5.7 GPIOIEV
register
The GPIOIEV (Interrupt Event) is a RW register which allows to select for each pin the
interrupt triggering event (rising/falling edge, high/low level), depending on GPIOIS register
setting (
). The GPIOIEV bit assignments are given in
.
18.5.8 GPIOIE
register
The GPIOIE (interrupt mask) is a RW register which allows to enable/disable interrupt
triggering for each pin. The GPIOIE bit assignments are given in
.
Table 271.
GPIOIBE register bit assignments
Bit
Name
Reset
value
Description
[05:00]
GPIOIBE
6’h0
Each bit is associated to a pin.
If a bit is set, both edges on the relevant pin trigger an
interrupt, regardless of GPIOIEV setting
(
).
Clearing a bit, interrupt generation event is controlled
by the GPIOIEV register (default). Single edge is
determined by the corresponding bit in that register.
Table 272.
GPIOIEV register bit assignments
Bit
Name
Reset
value
Description
[05:00]
GPIOIEV
6’h0
Each bit is associated to a pin.
If a bit is set, rising edge or high level on the relevant
pin triggers the interrupt.
Clearing a bit, falling edge or low level on that pin
triggers the interrupt (default).
Table 273.
GPIOIE register bit assignments
Bit
Name
Reset
value
Description
[05:00]
GPIOIE
6’h0
Each bit is associated to a pin.
If a bit is set, the relevant pin is allowed to trigger
their interrupts (pin not masked).
Clearing a bit, the relevant pin is masked and
interrupt triggering is disabled for that pin (default).