I would like to ask regarding the user_i2c_read and user_i2c_write functions as written in the BME280 Sensor API. In the datasheet is recommended to start a burst read from address 0xF7-FE so Do I have to implement an I2C read inside the function from starting address as the 0xF7?. Secondly, regarding the I2C write as per datasheet the write registers are config(0xF5), ctrl_meas(0xF4) and the ctrl_hum(0xF2) so in this case should I write through i2c only in these registers?
There was BME280 driver code and example code in github, you could refer it from https://github.com/BoschSensortec/BME280_driver.
1.For 0xF7 address reading, you could refer bme280_get_sensor_data() function;
2. For 0xF5 address write, you could refer data sheet, bme280_set_sensor_settings() function and see the usage in example code in github.