8 static const char *
const TAG =
"bmp3xx_i2c.sensor";
10 bool BMP3XXI2CComponent::read_byte(uint8_t a_register, uint8_t *data) {
11 return I2CDevice::read_byte(a_register, data);
13 bool BMP3XXI2CComponent::write_byte(uint8_t a_register, uint8_t data) {
14 return I2CDevice::write_byte(a_register, data);
16 bool BMP3XXI2CComponent::read_bytes(uint8_t a_register, uint8_t *data,
size_t len) {
17 return I2CDevice::read_bytes(a_register, data, len);
19 bool BMP3XXI2CComponent::write_bytes(uint8_t a_register, uint8_t *data,
size_t len) {
20 return I2CDevice::write_bytes(a_register, data, len);
23 void BMP3XXI2CComponent::dump_config() {
25 BMP3XXComponent::dump_config();
Implementation of SPI Controller mode.