Data Structures | |
struct | LPS22DF_t |
Functions | |
LPS22DF_t | LPS22DF_init (LPS22DF_t *, SPI_t *, GPIOpin_t, const float, const float) |
Initialiser for a LPS22DF barometer. | |
void | LPS22DF_update (Baro_t *) |
Updates the LPS22DF barometer readings. | |
void | LPS22DF_readTemp (Baro_t *, float *) |
Read the temperature from the LPS22DF sensor. | |
void | LPS22DF_readPress (Baro_t *, float *) |
void | LPS22DF_readRawTemp (Baro_t *, uint8_t *) |
void | LPS22DF_readRawPress (Baro_t *, uint8_t *) |
void | LPS22DF_processRawTemp (Baro_t *, uint8_t *, float *) |
Processes raw temperature data from LPS22DF sensor. | |
void | LPS22DF_processRawPress (Baro_t *, uint8_t *, float *) |
LPS22DF_t LPS22DF_init | ( | LPS22DF_t * | baro, |
SPI_t * | spi, | ||
GPIOpin_t | cs, | ||
float | tempSensitivity, | ||
float | pressSensitivity ) |
Initialiser for a LPS22DF barometer.
*baro | Pointer to LPS22DF 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 LPS22DF_update | ( | Baro_t * | baro | ) |
void LPS22DF_readTemp | ( | Baro_t * | baro, |
float * | out ) |
void LPS22DF_readPress | ( | Baro_t * | baro, |
float * | out ) |
void LPS22DF_readRawTemp | ( | Baro_t * | baro, |
uint8_t * | out ) |
void LPS22DF_readRawPress | ( | Baro_t * | baro, |
uint8_t * | out ) |
void LPS22DF_processRawTemp | ( | Baro_t * | baro, |
uint8_t * | bytes, | ||
float * | out ) |