ESPHome  2024.9.2
spi_device.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace esphome {
7 namespace 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:391
float get_setup_priority() const override
Definition: spi_device.cpp:28
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7