CONFIG_GPIO_NRF_INT_EDGE_USING_SENSE

Edge interrupts using SENSE

Type: bool

Help

Enable GPIO edge interrupts implementation using GPIO SENSE, which is
a level interrupt mechanism. Conversion from level to edge interrupts
notification happens in GPIO driver, so it is transparent to GPIO
consumers after switching from GPIOTE mechanism.

Use this option as an alternative to GPIOTE event mechanism. According
to product specifications and erratas to some nRF MCUs, using GPIOTE
results in increased current consumption in System ON Idle and in
conjunction with SPI/TWI peripherals. Selecting this option allows to
reduce current for those cases.

Using this option additionally allows detecting state changes of pins
configured as output, which might be handy for some applications.

Direct dependencies

<choice: nRF GPIO edge interrupts mechanism>

(Includes any dependencies from ifs and menus.)

Kconfig definition

At <Zephyr>/drivers/gpio/Kconfig.nrfx:43

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:34<Zephyr>/drivers/gpio/Kconfig:40

Menu path: (Top) → Device Drivers → GPIO Drivers → nRF GPIO driver → nRF GPIO edge interrupts mechanism

config GPIO_NRF_INT_EDGE_USING_SENSE
    bool "Edge interrupts using SENSE"
    depends on <choice>
    help
      Enable GPIO edge interrupts implementation using GPIO SENSE, which is
      a level interrupt mechanism. Conversion from level to edge interrupts
      notification happens in GPIO driver, so it is transparent to GPIO
      consumers after switching from GPIOTE mechanism.

      Use this option as an alternative to GPIOTE event mechanism. According
      to product specifications and erratas to some nRF MCUs, using GPIOTE
      results in increased current consumption in System ON Idle and in
      conjunction with SPI/TWI peripherals. Selecting this option allows to
      reduce current for those cases.

      Using this option additionally allows detecting state changes of pins
      configured as output, which might be handy for some applications.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)