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
micronova
button
micronova_button.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/components/micronova/micronova.h
"
4
#include "
esphome/core/component.h
"
5
#include "
esphome/components/button/button.h
"
6
7
namespace
esphome
{
8
namespace
micronova {
9
10
class
MicroNovaButton
:
public
Component
,
public
button::Button
,
public
MicroNovaButtonListener
{
11
public
:
12
MicroNovaButton
(
MicroNova
*
m
) :
MicroNovaButtonListener
(m) {}
13
void
dump_config
()
override
{ LOG_BUTTON(
""
,
"Micronova button"
,
this
); }
14
15
void
set_memory_data
(uint8_t f) { this->
memory_data_
= f; }
16
uint8_t
get_memory_data
() {
return
this->
memory_data_
; }
17
18
protected
:
19
void
press_action
()
override
;
20
};
21
22
}
// namespace micronova
23
}
// namespace esphome
esphome::micronova::MicroNovaButton::dump_config
void dump_config() override
Definition:
micronova_button.h:13
esphome::micronova::MicroNovaButton::set_memory_data
void set_memory_data(uint8_t f)
Definition:
micronova_button.h:15
esphome::button::Button
Base class for all buttons.
Definition:
button.h:29
esphome::micronova::MicroNovaButton::press_action
void press_action() override
Definition:
micronova_button.cpp:6
esphome::Component
Definition:
component.h:68
esphome::micronova::MicroNovaButton
Definition:
micronova_button.h:10
button.h
esphome::micronova::MicroNova
Definition:
micronova.h:121
micronova.h
esphome::micronova::MicroNovaButtonListener::memory_data_
uint8_t memory_data_
Definition:
micronova.h:116
esphome::micronova::MicroNovaButton::MicroNovaButton
MicroNovaButton(MicroNova *m)
Definition:
micronova_button.h:12
esphome::micronova::MicroNovaButtonListener
Definition:
micronova.h:111
esphome::micronova::MicroNovaButton::get_memory_data
uint8_t get_memory_data()
Definition:
micronova_button.h:16
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
m
uint8_t m
Definition:
bl0906.h:208
Generated by
1.8.13