9 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW,
10 spi::CLOCK_PHASE_LEADING, spi::DATA_RATE_1MHZ> {
11 void setup()
override;
12 bool read_byte(uint8_t a_register, uint8_t *data)
override;
13 bool write_byte(uint8_t a_register, uint8_t data)
override;
14 bool read_bytes(uint8_t a_register, uint8_t *data,
size_t len)
override;
15 bool write_bytes(uint8_t a_register, uint8_t *data,
size_t len)
override;
This class implements support for the BMP3XX Temperature+Pressure sensor.
The SPIDevice is what components using the SPI will create.
Implementation of SPI Controller mode.