Midnight Sun Firmware
Loading...
Searching...
No Matches
button_led.h
1
#pragma once
2
3
/************************************************************************************************
4
* @file button_led.h
5
*
6
* @brief Header file for button led control
7
*
8
* @date 2025-01-28
9
* @author Midnight Sun Team #24 - MSXVI
10
************************************************************************************************/
11
12
/* Standard library Headers */
13
#include <stdbool.h>
14
15
/* Inter-component Headers */
16
17
/* Intra-component Headers */
18
#include "button.h"
19
#include "button_led_manager.h"
20
30
StatusCode
button_led_enable
(
SteeringButtons
button);
31
35
StatusCode
button_led_disable
(
SteeringButtons
button);
36
40
StatusCode
button_led_toggle
(
SteeringButtons
button);
41
StatusCode
StatusCode
StatusCodes for various errors.
Definition:
status.h:27
button_led_disable
StatusCode button_led_disable(SteeringButtons button)
Turn a given LED off.
Definition:
button_led.c:59
button_led_enable
StatusCode button_led_enable(SteeringButtons button)
Set an LED to its assigned color.
Definition:
button_led.c:53
button_led_toggle
StatusCode button_led_toggle(SteeringButtons button)
Toggle a given LED between it's assigned color and off.
Definition:
button_led.c:65
SteeringButtons
SteeringButtons
Steering buttons.
Definition:
steering.h:44
projects
steering
inc
button_led.h
Generated by
1.9.5