You are viewing documentation for version:
Lookup item structure for GPIO configuration.
This structure defines the lookup item for GPIO configuration, including port, pin, pin configuration, mode, interrupt settings, and callback information.
Public Attributes#
struct GPIO_LookupItem::@1
Public Attribute Documentation#
gpio#
sl_gpio_t GPIO_LookupItem::gpio
gpio port and pin number.
PinConfig#
struct GPIO_PinConfig GPIO_LookupItem::PinConfig
Configuration parameters for the GPIO pin.
mode#
sl_gpio_mode_t GPIO_LookupItem::mode
Mode of the GPIO pin.
callback#
sid_pal_gpio_irq_handler_t GPIO_LookupItem::callback
Callback function to be called on GPIO interrupt.
falling#
bool GPIO_LookupItem::falling
Indicates if the interrupt is triggered on falling edge.
rising#
bool GPIO_LookupItem::rising
Indicates if the interrupt is triggered on rising edge.
irq#
struct GPIO_LookupItem::@1 GPIO_LookupItem::irq
Interrupt configuration for the GPIO pin.
callbackarg#
void* GPIO_LookupItem::callbackarg
Argument to be passed to the callback function.