Initialize the sensor and device structure.
Initialize the sensor and device structure.
CPP guard
bmp3_init
int8_t bmp3_init(struct bmp3_dev *dev)
This internal API converts the no. of frames required by the user to bytes so as to write in the wate...
This API is the entry point. Performs the selection of I2C/SPI read mechanism according to the selected interface and reads the chip-id and calibration data of the sensor.
- Parameters
-
| [in,out] | dev | : Structure instance of bmp3_dev |
- Returns
- Result of API execution status
- Return values
-
| 0 | -> Success |
| >0 | -> Warning |
| <0 | -> Error |