13 public spi::SPIDevice<spi::BIT_ORDER_LSB_FIRST, spi::CLOCK_POLARITY_LOW, spi::CLOCK_PHASE_LEADING,
14 spi::DATA_RATE_1MHZ> {
16 void setup()
override;
22 bool write_data(
const std::vector<uint8_t> &data)
override;
23 bool read_data(std::vector<uint8_t> &data, uint8_t
len)
override;
24 bool read_response(uint8_t command, std::vector<uint8_t> &data)
override;
void dump_config() override
bool read_response(uint8_t command, std::vector< uint8_t > &data) override
bool read_data(std::vector< uint8_t > &data, uint8_t len) override
The SPIDevice is what components using the SPI will create.
bool write_data(const std::vector< uint8_t > &data) override
Implementation of SPI Controller mode.
bool is_read_ready() override