ESPHome 2025.5.0
Loading...
Searching...
No Matches
spi_device.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace esphome {
7namespace spi_device {
8
10 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_HIGH,
11 spi::CLOCK_PHASE_TRAILING, spi::DATA_RATE_1MHZ> {
12 public:
13 void setup() override;
14 void dump_config() override;
15
16 float get_setup_priority() const override;
17
18 protected:
19};
20
21} // namespace spi_device
22} // namespace esphome
The SPIDevice is what components using the SPI will create.
Definition spi.h:421
float get_setup_priority() const override
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7