Configuration structure for a GPIO.

This structure defines the configuration parameters for a GPIO.

Public Attribute Documentation#

dir#

sid_pal_gpio_direction_t GPIO_PinConfig::dir

Direction of the GPIO pin (input/output).


input_mode#

sid_pal_gpio_input_t GPIO_PinConfig::input_mode

Input mode configuration for the GPIO pin.


output_mode#

sid_pal_gpio_output_t GPIO_PinConfig::output_mode

Output mode configuration for the GPIO pin.


pull_mode#

sid_pal_gpio_pull_t GPIO_PinConfig::pull_mode

Pull mode configuration for the GPIO pin.