ESPHome  2024.10.2
bmp3xx_i2c.h
Go to the documentation of this file.
1 #pragma once
4 
5 namespace esphome {
6 namespace bmp3xx_i2c {
7 
9  bool read_byte(uint8_t a_register, uint8_t *data) override;
10  bool write_byte(uint8_t a_register, uint8_t data) override;
11  bool read_bytes(uint8_t a_register, uint8_t *data, size_t len) override;
12  bool write_bytes(uint8_t a_register, uint8_t *data, size_t len) override;
13  void dump_config() override;
14 };
15 
16 } // namespace bmp3xx_i2c
17 } // namespace esphome
This class implements support for the BMP3XX Temperature+Pressure sensor.
Definition: bmp3xx_base.h:72
std::string size_t len
Definition: helpers.h:292
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
This Class provides the methods to read/write bytes from/to an i2c device.
Definition: i2c.h:133