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
ssd1327_spi
ssd1327_spi.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/ssd1327_base/ssd1327_base.h
"
5
#include "
esphome/components/spi/spi.h
"
6
7
namespace
esphome
{
8
namespace
ssd1327_spi {
9
10
class
SPISSD1327
:
public
ssd1327_base::SSD1327
,
11
public
spi::SPIDevice
<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_HIGH, spi::CLOCK_PHASE_TRAILING,
12
spi::DATA_RATE_8MHZ> {
13
public
:
14
void
set_dc_pin
(
GPIOPin
*dc_pin) {
dc_pin_
= dc_pin; }
15
16
void
setup
()
override
;
17
18
void
dump_config
()
override
;
19
20
protected
:
21
void
command
(uint8_t value)
override
;
22
23
void
write_display_data
()
override
;
24
25
GPIOPin
*
dc_pin_
;
26
};
27
28
}
// namespace ssd1327_spi
29
}
// namespace esphome
esphome::ssd1327_spi::SPISSD1327::dump_config
void dump_config() override
Definition:
ssd1327_spi.cpp:21
esphome::ssd1327_spi::SPISSD1327::dc_pin_
GPIOPin * dc_pin_
Definition:
ssd1327_spi.h:25
spi.h
esphome::ssd1327_base::SSD1327
Definition:
ssd1327_base.h:14
esphome::spi::SPIDevice
The SPIDevice is what components using the SPI will create.
Definition:
spi.h:410
esphome::ssd1327_spi::SPISSD1327::command
void command(uint8_t value) override
Definition:
ssd1327_spi.cpp:30
esphome::ssd1327_spi::SPISSD1327::set_dc_pin
void set_dc_pin(GPIOPin *dc_pin)
Definition:
ssd1327_spi.h:14
esphome::ssd1327_spi::SPISSD1327::write_display_data
void write_display_data() override
Definition:
ssd1327_spi.cpp:43
esphome::ssd1327_spi::SPISSD1327::setup
void setup() override
Definition:
ssd1327_spi.cpp:10
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
esphome::ssd1327_spi::SPISSD1327
Definition:
ssd1327_spi.h:10
esphome::GPIOPin
Definition:
gpio.h:50
ssd1327_base.h
Generated by
1.8.13