ESPHome  2021.11.3
Data Structures | Namespaces | Enumerations
spi.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::spi::SPIComponent
 
class  esphome::spi::SPIDevice< BIT_ORDER, CLOCK_POLARITY, CLOCK_PHASE, DATA_RATE >
 

Namespaces

 esphome
 Library based on https://github.com/miguelbalboa/rfid and adapted to ESPHome by .
 
 esphome::spi
 

Enumerations

enum  esphome::spi::SPIBitOrder { esphome::spi::BIT_ORDER_LSB_FIRST, esphome::spi::BIT_ORDER_MSB_FIRST }
 The bit-order for SPI devices. This defines how the data read from and written to the device is interpreted. More...
 
enum  esphome::spi::SPIClockPolarity { esphome::spi::CLOCK_POLARITY_LOW = false, esphome::spi::CLOCK_POLARITY_HIGH = true }
 The SPI clock signal polarity,. More...
 
enum  esphome::spi::SPIClockPhase { esphome::spi::CLOCK_PHASE_LEADING, esphome::spi::CLOCK_PHASE_TRAILING }
 The SPI clock signal phase. More...
 
enum  esphome::spi::SPIDataRate : uint32_t {
  esphome::spi::DATA_RATE_1KHZ = 1000, esphome::spi::DATA_RATE_75KHZ = 75000, esphome::spi::DATA_RATE_200KHZ = 200000, esphome::spi::DATA_RATE_1MHZ = 1000000,
  esphome::spi::DATA_RATE_2MHZ = 2000000, esphome::spi::DATA_RATE_4MHZ = 4000000, esphome::spi::DATA_RATE_8MHZ = 8000000, esphome::spi::DATA_RATE_10MHZ = 10000000,
  esphome::spi::DATA_RATE_20MHZ = 20000000, esphome::spi::DATA_RATE_40MHZ = 40000000
}
 The SPI clock signal data rate. More...