20 void BME280SPIComponent::setup() {
39 bool BME280SPIComponent::write_byte(uint8_t a_register, uint8_t data) {
47 bool BME280SPIComponent::read_bytes(uint8_t a_register, uint8_t *data,
size_t len) {
55 bool BME280SPIComponent::read_byte_16(uint8_t a_register, uint16_t *data) {
void spi_setup() override
uint8_t transfer_byte(uint8_t data)
void read_array(uint8_t *data, size_t length)
uint8_t set_bit(uint8_t num, int position)
uint8_t clear_bit(uint8_t num, int position)
Implementation of SPI Controller mode.