11#include "stm32f4xx_hal.h"
13#define LED_DRIVER_COUNT 3
14#define LED_DRIVER_PORT GPIOD
15#define LED_DRIVER_BLINK_RATE 250
23#define LED_DRIVER_DEFAULT {{}, LED_DRIVER_UNINITIALISED}
void leds_driver_init(void)
LED Driver initialisation.
led_driver_pin_e
defines the driver's LED pin numbers
void leds_driver_set(led_driver_led_e led, led_driver_led_state_e state)
Assigns a state to a driver's led.
led_driver_led_e
defines index of the driver's LED to be used to select a specific led from the driver's led pool
led_driver_status_e
Status of the leds driver instance.
led_driver_led_state_e
defines the running mode of one of the driver's LED instance
@ LED_DRIVER_UNINITIALISED
Defines a driver's LED instance.
led_driver_led_state_e state
Defines the leds driver instance.
led_driver_status_e status