Searched refs:bme280_bus (Results 1 – 4 of 4) sorted by relevance
16 static int bme280_bus_check_i2c(const union bme280_bus *bus) in bme280_bus_check_i2c()21 static int bme280_reg_read_i2c(const union bme280_bus *bus, in bme280_reg_read_i2c()27 static int bme280_reg_write_i2c(const union bme280_bus *bus, in bme280_reg_write_i2c()
20 static int bme280_bus_check_spi(const union bme280_bus *bus) in bme280_bus_check_spi()25 static int bme280_reg_read_spi(const union bme280_bus *bus, in bme280_reg_read_spi()65 static int bme280_reg_write_spi(const union bme280_bus *bus, in bme280_reg_write_spi()
25 union bme280_bus { union34 typedef int (*bme280_bus_check_fn)(const union bme280_bus *bus);35 typedef int (*bme280_reg_read_fn)(const union bme280_bus *bus, uint8_t start, uint8_t *buf,37 typedef int (*bme280_reg_write_fn)(const union bme280_bus *bus, uint8_t reg, uint8_t val);
37 union bme280_bus bus;