Ares LoRa Firmware
Loading...
Searching...
No Matches
firmware
include
led.h
Go to the documentation of this file.
1
10
11
#ifndef ARES_LED_H
12
#define ARES_LED_H
13
14
#include <stdint.h>
15
20
enum
led_state
{
21
LED_STATE_OFF
,
22
LED_STATE_ON
,
23
LED_STATE_BLINK
,
24
LED_STATE_FADE
,
25
LED_STATE_INVALID
,
26
};
27
32
enum
led
{
33
LED_0
,
34
LED_1
,
35
LED_INVALID
,
36
};
37
50
int
update_led_state
(
enum
led
led
, uint8_t new_state);
51
52
#endif
// ARES_LED_H
led
led
Definition
led.h:32
LED_INVALID
@ LED_INVALID
Last LED enumerator.
Definition
led.h:35
LED_1
@ LED_1
LED 1.
Definition
led.h:34
LED_0
@ LED_0
LED 0.
Definition
led.h:33
led_state
led_state
Definition
led.h:20
LED_STATE_ON
@ LED_STATE_ON
LED on.
Definition
led.h:22
LED_STATE_OFF
@ LED_STATE_OFF
LED off.
Definition
led.h:21
LED_STATE_BLINK
@ LED_STATE_BLINK
LED blinking.
Definition
led.h:23
LED_STATE_INVALID
@ LED_STATE_INVALID
Invalid/end of enumeration.
Definition
led.h:25
LED_STATE_FADE
@ LED_STATE_FADE
LED Fading on and off.
Definition
led.h:24
update_led_state
int update_led_state(enum led led, uint8_t new_state)
Generated by
1.15.0