Expand description
GPIO control for oveRTOS.
Provides pin configuration, digital read/write, and interrupt registration.
Pins are identified by a (port, pin) pair where both are zero-based indices
matching the platform’s GPIO numbering.
Enums§
- Gpio
IrqMode - GPIO interrupt trigger mode.
- Gpio
Mode - GPIO pin direction/pull mode.
Functions§
- configure
- Configure a GPIO pin’s direction and pull mode.
- get
- Read a GPIO pin input value. Returns the pin level (0 or 1) on success.
- irq_
disable - Disable a registered GPIO interrupt without removing the registration.
- irq_
enable - Enable a previously registered GPIO interrupt.
- irq_
register ⚠ - Register a GPIO interrupt callback.
- set
- Set a GPIO pin’s output level (
value: 0 = low, non-zero = high).