Data Structures | |
| struct | BMP581_t |
Functions | |
| BMP581_t | BMP581_init (BMP581_t *, SPI_t *, GPIOpin_t, const float, const float) |
| Initialiser for a BMP581 barometer. | |
| void | BMP581_update (Baro_t *) |
| Updates the BMP581 barometer readings. | |
| void | BMP581_readTemp (Baro_t *, float *) |
| Read the temperature from the BMP581 sensor. | |
| void | BMP581_readPress (Baro_t *, float *) |
| void | BMP581_readRawTemp (Baro_t *, uint8_t *) |
| void | BMP581_readRawPress (Baro_t *, uint8_t *) |
| void | BMP581_processRawTemp (Baro_t *, uint8_t *, float *) |
| Processes raw temperature data from BMP581 sensor. | |
| void | BMP581_processRawPress (Baro_t *, uint8_t *, float *) |
| BMP581_t BMP581_init | ( | BMP581_t * | baro, |
| SPI_t * | spi, | ||
| GPIOpin_t | cs, | ||
| float | tempSensitivity, | ||
| float | pressSensitivity ) |
Initialiser for a BMP581 barometer.
| *baro | Pointer to BMP581 struct to be initialised. |
| *port | Pointer to GPIO port struct. |
| cs | Device chip select address. |
| tempSensitivity | Barometer temperature sensitivity. |
| pressSensitivity | Barometer pressure sensitivity. |
NULL.| void BMP581_update | ( | Baro_t * | baro | ) |
| void BMP581_readTemp | ( | Baro_t * | baro, |
| float * | out ) |
| void BMP581_readPress | ( | Baro_t * | baro, |
| float * | out ) |
| void BMP581_readRawTemp | ( | Baro_t * | baro, |
| uint8_t * | out ) |
| void BMP581_readRawPress | ( | Baro_t * | baro, |
| uint8_t * | out ) |
| void BMP581_processRawTemp | ( | Baro_t * | baro, |
| uint8_t * | bytes, | ||
| float * | out ) |