F439_CPP_BMP390_Barometric_Pressure_and_Altimeter_01 1.0
STM32F439 BMP390 barometric pressure and altimeter tutorial
Loading...
Searching...
No Matches
Sensor Status

Read status of the sensor.

Read status of the sensor.

bmp3_get_status

int8_t bmp3_get_status(struct bmp3_status *status, struct bmp3_dev *dev);
This API gets the command ready, data ready for pressure and temperature and interrupt (fifo watermark, fifo full, data ready) and error status from the sensor.
Parameters
[out]status: Structure instance of bmp3_status
[in]dev: Structure instance of bmp3_dev
Returns
Result of API execution status.
Return values
0-> Success
<0-> Error