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
bme68x_bsec2_i2c
bme68x_bsec2_i2c.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/core/defines.h
"
5
#include "
esphome/core/preferences.h
"
6
7
#ifdef USE_BSEC2
8
9
#include "
esphome/components/bme68x_bsec2/bme68x_bsec2.h
"
10
#include "
esphome/components/i2c/i2c.h
"
11
12
namespace
esphome
{
13
namespace
bme68x_bsec2_i2c {
14
15
class
BME68xBSEC2I2CComponent
:
public
bme68x_bsec2::BME68xBSEC2Component
,
public
i2c::I2CDevice
{
16
void
setup()
override
;
17
void
dump_config()
override
;
18
19
uint32_t get_hash()
override
;
20
21
static
int8_t read_bytes_wrapper(uint8_t a_register, uint8_t *data, uint32_t
len
,
void
*intfPtr);
22
static
int8_t write_bytes_wrapper(uint8_t a_register,
const
uint8_t *data, uint32_t len,
void
*intfPtr);
23
static
void
delay_us(uint32_t period,
void
*intfPtr);
24
};
25
26
}
// namespace bme68x_bsec2_i2c
27
}
// namespace esphome
28
#endif
esphome::bme68x_bsec2::BME68xBSEC2Component
Definition:
bme68x_bsec2.h:47
preferences.h
defines.h
esphome::bme68x_bsec2_i2c::BME68xBSEC2I2CComponent
Definition:
bme68x_bsec2_i2c.h:15
esphome::len
std::string size_t len
Definition:
helpers.h:301
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
bme68x_bsec2.h
esphome::i2c::I2CDevice
This Class provides the methods to read/write bytes from/to an i2c device.
Definition:
i2c.h:133
i2c.h
Generated by
1.8.13