7 static const char *
const TAG =
"bmp3xx_spi.sensor";
19 void BMP3XXSPIComponent::setup() {
32 bool BMP3XXSPIComponent::write_byte(uint8_t a_register, uint8_t data) {
40 bool BMP3XXSPIComponent::read_bytes(uint8_t a_register, uint8_t *data,
size_t len) {
48 bool BMP3XXSPIComponent::write_bytes(uint8_t a_register, uint8_t *data,
size_t len) {
void transfer_array(uint8_t *data, size_t length)
Write the array data, replace with received data.
uint8_t set_bit(uint8_t num, int position)
void spi_setup() override
uint8_t transfer_byte(uint8_t data)
void read_array(uint8_t *data, size_t length)
uint8_t clear_bit(uint8_t num, int position)
Implementation of SPI Controller mode.