ESPHome
2025.2.2
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
d
e
f
i
j
l
m
n
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
d
o
p
s
t
v
w
+
Enumerations
b
c
e
f
i
m
n
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Functions
_
a
l
m
o
s
t
u
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
esphome
esphome
components
status_led
status_led.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/core/hal.h
"
5
6
namespace
esphome
{
7
namespace
status_led {
8
9
class
StatusLED
:
public
Component
{
10
public
:
11
explicit
StatusLED
(
GPIOPin
*pin);
12
13
void
pre_setup
();
14
void
dump_config
()
override
;
15
void
loop
()
override
;
16
float
get_setup_priority
()
const override
;
17
float
get_loop_priority
()
const override
;
18
19
protected
:
20
GPIOPin
*
pin_
;
21
};
22
23
extern
StatusLED
*
global_status_led
;
// NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
24
25
}
// namespace status_led
26
}
// namespace esphome
esphome::status_led::StatusLED::StatusLED
StatusLED(GPIOPin *pin)
Definition:
status_led.cpp:12
esphome::status_led::StatusLED::pre_setup
void pre_setup()
Definition:
status_led.cpp:13
esphome::status_led::StatusLED::loop
void loop() override
Definition:
status_led.cpp:22
hal.h
esphome::Component
Definition:
component.h:68
esphome::status_led::StatusLED::get_loop_priority
float get_loop_priority() const override
Definition:
status_led.cpp:32
esphome::status_led::StatusLED
Definition:
status_led.h:9
esphome::status_led::StatusLED::pin_
GPIOPin * pin_
Definition:
status_led.h:20
esphome::status_led::StatusLED::get_setup_priority
float get_setup_priority() const override
Definition:
status_led.cpp:31
esphome::status_led::global_status_led
StatusLED * global_status_led
Definition:
status_led.cpp:10
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
esphome::GPIOPin
Definition:
gpio.h:50
esphome::status_led::StatusLED::dump_config
void dump_config() override
Definition:
status_led.cpp:18
Generated by
1.8.13