#include "port.h"
#include <stdbool.h>
Go to the source code of this file.
|
enum | LEDColor {
LEDCOLOR_BLUE = 1
, LEDCOLOR_RED
, LEDCOLOR_GREEN
, LEDCOLOR_AMBER
,
LEDCOLOR_ORANGE
, LEDCOLOR_WHITE
} |
|
enum | LEDInit_status { LEDINIT_ON = 0x00
, LEDINIT_OFF = 0xFF
} |
|
enum | LEDState { LEDSTATE_INIT = 0x00
, LEDSTATE_TOGGLED = 0xFF
} |
|
enum | LEDAct { LEDACT_TURN_ON = 0x00
, LEDACT_TOGGLE
, LEDACT_TURN_OFF = 0xFF
} |
|
enum | LEDMode { LEDMODE_LOCAL
, LEDMODE_OVERRIDE
, LEDMODE_LAMPTEST
, LEDMODE_CNT
} |
|
◆ led_act_func_t
typedef void(* led_act_func_t) (uint8_t id, uint8_t action) |
◆ LEDConfig_t
◆ LEDUpdate_t
◆ LEDAct
Enumerator |
---|
LEDACT_TURN_ON | |
LEDACT_TOGGLE | |
LEDACT_TURN_OFF | |
◆ LEDColor
Enumerator |
---|
LEDCOLOR_BLUE | |
LEDCOLOR_RED | |
LEDCOLOR_GREEN | |
LEDCOLOR_AMBER | |
LEDCOLOR_ORANGE | |
LEDCOLOR_WHITE | |
◆ LEDInit_status
Enumerator |
---|
LEDINIT_ON | |
LEDINIT_OFF | |
◆ LEDMode
Enumerator |
---|
LEDMODE_LOCAL | |
LEDMODE_OVERRIDE | |
LEDMODE_LAMPTEST | |
LEDMODE_CNT | |
◆ LEDState
Enumerator |
---|
LEDSTATE_INIT | |
LEDSTATE_TOGGLED | |
◆ led_act()
void led_act |
( |
uint8_t | id, |
|
|
uint8_t | action ) |
◆ LED_init()
◆ LED_Task()
void LED_Task |
( |
void * | Parameters | ) |
|
◆ LEDManage()
◆ LEDUpdate()
void LEDUpdate |
( |
uint8_t | fru, |
|
|
uint8_t | led_num, |
|
|
uint8_t | mode, |
|
|
uint8_t | init_status, |
|
|
uint16_t | t_init, |
|
|
uint16_t | t_toggle ) |