void port_led_on(port_led_hw_t *p_led)
Turn on the LED.
void port_led_off(port_led_hw_t *p_led)
Turn off the LED.
#define GPIO_PUPDR_NOPULL
void port_led_toggle(port_led_hw_t *p_led)
Toggles the LED state.
Structure to define the HW dependencies of a LED.
port_led_hw_t led_heater_active
bool port_led_get_status(port_led_hw_t *p_led)
Returns the current state of the LED.
Header file for the LED port layer.
port_led_hw_t led_comfort_temperature
Header for port_system.c file.
void port_system_gpio_config(GPIO_TypeDef *p_port, uint8_t pin, uint8_t mode, uint8_t pupd)
Configure the mode and pull of a GPIO.
#define BIT_POS_TO_MASK(x)
void port_led_init(port_led_hw_t *p_led)
Initializes the LED.