void(* ove_gpio_irq_cb)(unsigned int port, unsigned int pin, void *user_data)
GPIO interrupt callback type (re-exported for BSP-only callers).
Definition bsp.h:61
ove_gpio_irq_mode_t
GPIO interrupt trigger edge selection (re-exported for BSP-only callers).
Definition bsp.h:48
ove_gpio_mode_t
GPIO pin direction and drive mode.
Definition gpio.h:35
int ove_hal_gpio_configure(unsigned int port, unsigned int pin, ove_gpio_mode_t mode)
Configure the direction and drive mode of a GPIO pin at the hardware level.
int ove_hal_gpio_irq_hw_enable(unsigned int port, unsigned int pin, ove_gpio_irq_mode_t mode, ove_gpio_irq_cb callback, void *user_data)
Program and enable a GPIO interrupt in hardware.
int ove_hal_gpio_irq_hw_disable(unsigned int port, unsigned int pin)
Disable a GPIO interrupt in hardware without unregistering the callback.
int ove_hal_gpio_set(unsigned int port, unsigned int pin, int value)
Set the output level of a GPIO pin at the hardware level.
int ove_hal_gpio_get(unsigned int port, unsigned int pin)
Read the current logical level of a GPIO pin at the hardware level.