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.cpp
Go to the documentation of this file.
1
#include "
micronova_button.h
"
2
3
namespace
esphome
{
4
namespace
micronova {
5
6
void
MicroNovaButton::press_action
() {
7
switch
(this->
get_function
()) {
8
case
MicroNovaFunctions::STOVE_FUNCTION_CUSTOM
:
9
this->
micronova_
->
write_address
(this->
memory_location_
, this->
memory_address_
, this->
memory_data_
);
10
break
;
11
default
:
12
break
;
13
}
14
this->
micronova_
->
update
();
15
}
16
17
}
// namespace micronova
18
}
// namespace esphome
esphome::micronova::MicroNovaBaseListener::get_function
MicroNovaFunctions get_function()
Definition:
micronova.h:58
esphome::micronova::MicroNovaButton::press_action
void press_action() override
Definition:
micronova_button.cpp:6
micronova_button.h
esphome::micronova::MicroNovaBaseListener::memory_location_
uint8_t memory_location_
Definition:
micronova.h:69
esphome::micronova::MicroNova::write_address
void write_address(uint8_t location, uint8_t address, uint8_t data)
Definition:
micronova.cpp:118
esphome::micronova::MicroNovaButtonListener::memory_data_
uint8_t memory_data_
Definition:
micronova.h:116
esphome::micronova::MicroNova::update
void update() override
Definition:
micronova.cpp:33
esphome::micronova::MicroNovaBaseListener::micronova_
MicroNova * micronova_
Definition:
micronova.h:67
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::micronova::MicroNovaFunctions::STOVE_FUNCTION_CUSTOM
esphome::micronova::MicroNovaBaseListener::memory_address_
uint8_t memory_address_
Definition:
micronova.h:70
Generated by
1.8.13