12 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW, spi::CLOCK_PHASE_LEADING,
13 spi::DATA_RATE_10MHZ> {
17 void setup()
override;
23 bool read_reg(uint8_t reg, uint8_t *value)
override;
24 bool write_reg(uint8_t reg, uint8_t value)
override;
void dump_config() override
The SPIDevice is what components using the SPI will create.
void set_device_address(uint8_t device_addr)
bool write_reg(uint8_t reg, uint8_t value) override
bool read_reg(uint8_t reg, uint8_t *value) override
Implementation of SPI Controller mode.