API Documentation
v0.0.1
Loading...
Searching...
No Matches
LedRole.h
1
/**********************************************************************************************************************
2
* ____ _ _ _
3
* / __ \ | | | | | |
4
* | | | |_ __ ___ _ __ | |__| | ___ _ __ _ __ ___| |_
5
* | | | | '_ \ / _ \ '_ \| __ |/ _ \| '__| '_ \ / _ \ __|
6
* | |__| | |_) | __/ | | | | | | (_) | | | | | | __/ |_
7
* \____/| .__/ \___|_| |_|_| |_|\___/|_| |_| |_|\___|\__|
8
* | |
9
* |_|
10
* ----------------------------------------------------------------------------------
11
*
12
* @file LedRole.h
13
* @author Ulukaii
14
* @date 24.05.2025
15
* @version t 0.3.2
16
* @copyright Copyright 2016-2025 OpenHornet. See 2A13-BACKLIGHT_CONTROLLER.ino for details.
17
* @brief Defines the role of the LEDs in the panels.
18
* @details Each panel holds a table of LEDs. These contain the role of the LED, which is one of the values
19
* defined in this enum. When LEDs update commands are processed, the table of LEDs is scanned through
20
* and only those LEDs that match the desired role are updated.
21
*********************************************************************************************************************/
22
23
#ifndef LED_ROLE_H
24
#define LED_ROLE_H
25
26
/**********************************************************************************************************************
27
* @brief LED role enumeration.
28
* @details Defines the different roles that LEDs can have in the panels.
29
* @remark This enum is used for memory efficiency and type safety.
30
*********************************************************************************************************************/
31
enum
LedRole {
32
LED_INSTR_BL,
33
LED_CONSOLE_BL,
34
LED_INSTR_BL_CGRB,
35
LED_READY,
36
LED_DISCH,
37
LED_AG,
38
LED_AA,
39
// EWI Panel specific types
40
LED_FIRE,
41
LED_CAUTION,
42
LED_GO,
43
LED_NO_GO,
44
LED_R_BLEED,
45
LED_L_BLEED,
46
LED_SPD_BRK,
47
LED_STBY,
48
LED_REC,
49
LED_L_BAR1,
50
LED_L_BAR2,
51
LED_XMIT,
52
LED_ASPJ_ON,
53
// Right EWI Panel specific types
54
LED_R_FIRE,
55
LED_APU_FIRE,
56
LED_DISP,
57
LED_RCDRON,
58
LED_SPARE1,
59
LED_SPARE2,
60
LED_SPARE3,
61
LED_SPARE4,
62
LED_SPARE5,
63
LED_SAM,
64
LED_AAA,
65
LED_AI,
66
LED_CW,
67
// Spin Recovery Panel specific types
68
LED_SPIN,
69
// ECM Panel specific types
70
LED_ECM_JETT_SEL,
71
LED_ECM_BACKLIGHT,
72
// RWR Panel specific types
73
LED_RWR_BIT,
74
LED_RWR_BIT_FAIL,
75
LED_RWR_OFFSET,
76
LED_RWR_OFFSET_EN,
77
LED_RWR_SPECIAL,
78
LED_RWR_SPECIAL_EN,
79
LED_RWR_DISPLAY,
80
LED_RWR_LIMIT,
81
LED_RWR_POWER,
82
LED_RWR_NONE,
83
// Flood Lights specific types
84
LED_FLOOD,
85
// Caution Panel specific types
86
LED_CK_SEAT,
87
LED_APU_ACC,
88
LED_BATT_SW,
89
LED_FCS_HOT,
90
LED_GEN_TIE,
91
LED_CSPARE1,
92
LED_FUEL_LO,
93
LED_FCES,
94
LED_CSPARE2,
95
LED_L_GEN,
96
LED_R_GEN,
97
LED_CSPARE3,
98
// Jett Station Panel specific types
99
LED_JETT_RO_1,
100
LED_JETT_RO_2,
101
LED_JETT_RI_1,
102
LED_JETT_RI_2,
103
LED_JETT_CTR_1,
104
LED_JETT_CTR_2,
105
LED_JETT_LI_1,
106
LED_JETT_LI_2,
107
LED_JETT_LO_1,
108
LED_JETT_LO_2,
109
LED_JETT_NOSE,
110
LED_JETT_LEFT,
111
LED_JETT_RIGHT,
112
LED_JETT_HALF,
113
LED_JETT_FULL,
114
LED_JETT_FLAPS
115
};
116
117
#endif
embedded
OH2_Lower_Instrument_Panel
2A13-BACKLIGHT_CONTROLLER
helpers
LedRole.h
Generated on Tue May 5 2026 16:37:05 for API Documentation by
1.12.0