Expand description
Backward-compatible BSP module — delegates to board, gpio, led modules.
Enums§
- Gpio
IrqMode - GPIO interrupt trigger mode (BSP re-export of
gpio::GpioIrqMode).
Functions§
- board_
init - Initialize the board support package.
- gpio_
get - Read a GPIO pin input value. Returns 0 (low) or 1 (high) on success.
- gpio_
irq_ disable - Disable a registered GPIO interrupt without removing the registration.
- gpio_
irq_ enable - Enable a previously registered GPIO interrupt.
- gpio_
irq_ ⚠register - Register a GPIO interrupt callback.
- gpio_
set - Set a GPIO pin’s output level (
value: 0 = low, non-zero = high). - led_set
- Set the state of an LED.
- led_
toggle - Toggle the state of an LED.