GPIOTE — GPIO tasks and events

nRF54LM20A | nRF54LM20B Datasheet

The GPIO tasks and events (GPIOTE) peripheral provides functionality for accessing GPIO pins using tasks and events. Each GPIOTE channel can be assigned to one pin.

The main features of GPIOTE are the following:

  • GPIO pin state change by triggering tasks
  • Event generation on GPIO pin state change
  • PORT event generation on GPIO DETECT signal
  • Support for split security on individual GPIOTE channels

A GPIOTE block enables GPIOs to generate events on pin state change which can be used to carry out tasks through the PPI system. A GPIO can also be driven to change state on system events using the PPI system. See Peripheral interface for additional information on tasks and events. GPIO is described in more detail in GPIO — General purpose input/output.

Detection of pin state changes when in low power mode is possible when in System ON or System OFF.

GPIOTE supports split-security. Each channel is assigned a security state (S/NS).

Up to three tasks can be used in each GPIOTE channel for performing write operations to a pin. Tasks SET and CLR are fixed. OUT can be configured to perform following operations:

  • Set
  • Clear
  • Toggle

An event can be generated in each GPIOTE channel from one of the following input conditions:

  • Rising edge
  • Falling edge
  • Any change