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
axs15231
touchscreen
axs15231_touchscreen.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/components/i2c/i2c.h
"
4
#include "
esphome/components/touchscreen/touchscreen.h
"
5
#include "
esphome/core/component.h
"
6
#include "
esphome/core/hal.h
"
7
8
namespace
esphome
{
9
namespace
axs15231 {
10
11
class
AXS15231Touchscreen
:
public
touchscreen::Touchscreen
,
public
i2c::I2CDevice
{
12
public
:
13
void
setup
()
override
;
14
void
dump_config
()
override
;
15
16
void
set_interrupt_pin
(
InternalGPIOPin
*pin) { this->
interrupt_pin_
= pin; }
17
void
set_reset_pin
(
GPIOPin
*pin) { this->
reset_pin_
= pin; }
18
19
protected
:
20
void
update_touches
()
override
;
21
22
InternalGPIOPin
*
interrupt_pin_
{};
23
GPIOPin
*
reset_pin_
{};
24
};
25
26
}
// namespace axs15231
27
}
// namespace esphome
esphome::InternalGPIOPin
Definition:
gpio.h:86
esphome::axs15231::AXS15231Touchscreen::set_interrupt_pin
void set_interrupt_pin(InternalGPIOPin *pin)
Definition:
axs15231_touchscreen.h:16
hal.h
touchscreen.h
esphome::axs15231::AXS15231Touchscreen
Definition:
axs15231_touchscreen.h:11
esphome::axs15231::AXS15231Touchscreen::interrupt_pin_
InternalGPIOPin * interrupt_pin_
Definition:
axs15231_touchscreen.h:22
esphome::axs15231::AXS15231Touchscreen::reset_pin_
GPIOPin * reset_pin_
Definition:
axs15231_touchscreen.h:23
esphome::axs15231::AXS15231Touchscreen::update_touches
void update_touches() override
Definition:
axs15231_touchscreen.cpp:38
esphome::axs15231::AXS15231Touchscreen::dump_config
void dump_config() override
Definition:
axs15231_touchscreen.cpp:54
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
esphome::axs15231::AXS15231Touchscreen::setup
void setup() override
Definition:
axs15231_touchscreen.cpp:19
esphome::axs15231::AXS15231Touchscreen::set_reset_pin
void set_reset_pin(GPIOPin *pin)
Definition:
axs15231_touchscreen.h:17
esphome::i2c::I2CDevice
This Class provides the methods to read/write bytes from/to an i2c device.
Definition:
i2c.h:133
esphome::GPIOPin
Definition:
gpio.h:50
esphome::touchscreen::Touchscreen
Definition:
touchscreen.h:45
i2c.h
Generated by
1.8.13