Contains LED initialization and execution functions.
More...
#include "xc.h"
#include "dev_led.h"
#include "system/pins.h"
Go to the source code of this file.
|
void | Dev_LED_Initialize (void) |
| This function contains the LED initialization.
|
|
void | Dev_LED_On (uint8_t led_id) |
| Switch on the LED.
|
|
void | Dev_LED_Off (uint8_t led_id) |
| Switch off the LED.
|
|
void | Dev_LED_Toggle (uint8_t led_id) |
| Toggles the LED state.
|
|
void | Dev_LED_Blink (uint8_t led_id) |
| Set the LED in blinking mode.
|
|
void | Dev_LED_Blink_Iter (uint8_t led_id, uint8_t count) |
| Set the LED in blinking mode in number of LED iterations.
|
|
void | Dev_LED_Blink_Slow (uint8_t led_id) |
| Set the LED in SLOW blinking mode.
|
|
void | Dev_LED_Blink_Fast (uint8_t led_id) |
| Set the LED in FAST blinking mode.
|
|
void | Dev_LED_Task_100ms () |
| This function needs to be called every 100ms and contains the code to update the status of the LEDs.
|
|
<>
Definition in file dev_led.c.
◆ ledIterationsCounter
◆ ledStates
Private Variables
Definition at line 63 of file dev_led.c.
◆ ledTimer