|
ChibiOS 21.11.4
|
LPS22HB MEMS interface module code. More...
Go to the source code of this file.
Macros | |
| #define | lps22hbI2CWriteRegister(i2cp, sad, txbuf, n) |
| Writes a value into a register using I2C. | |
Functions | |
| static msg_t | lps22hbI2CReadRegister (I2CDriver *i2cp, lps22hb_sad_t sad, uint8_t reg, uint8_t *rxbuf, size_t n) |
| Reads registers value using I2C. | |
| static size_t | baro_get_axes_number (void *ip) |
| Return the number of axes of the BaseBarometer. | |
| static msg_t | baro_read_raw (void *ip, int32_t axes[]) |
| Retrieves raw data from the BaseBarometer. | |
| static msg_t | baro_read_cooked (void *ip, float axes[]) |
| Retrieves cooked data from the BaseBarometer. | |
| static msg_t | baro_set_bias (void *ip, float *bp) |
| Set bias values for the BaseBarometer. | |
| static msg_t | baro_reset_bias (void *ip) |
| Reset bias values for the BaseBarometer. | |
| static msg_t | baro_set_sensitivity (void *ip, float *sp) |
| Set sensitivity values for the BaseBarometer. | |
| static msg_t | baro_reset_sensitivity (void *ip) |
| Reset sensitivity values for the BaseBarometer. | |
| static size_t | thermo_get_axes_number (void *ip) |
| Return the number of axes of the BaseThermometer. | |
| static msg_t | thermo_read_raw (void *ip, int32_t axes[]) |
| Retrieves raw data from the BaseThermometer. | |
| static msg_t | thermo_read_cooked (void *ip, float *axis) |
| Retrieves cooked data from the BaseThermometer. | |
| static msg_t | thermo_set_bias (void *ip, float *bp) |
| Set bias values for the BaseThermometer. | |
| static msg_t | thermo_reset_bias (void *ip) |
| Reset bias values for the BaseThermometer. | |
| static msg_t | thermo_set_sensitivity (void *ip, float *sp) |
| Set sensitivity values for the BaseThermometer. | |
| static msg_t | thermo_reset_sensitivity (void *ip) |
| Reset sensitivity values for the BaseThermometer. | |
| void | lps22hbObjectInit (LPS22HBDriver *devp) |
| Initializes an instance. | |
| void | lps22hbStart (LPS22HBDriver *devp, const LPS22HBConfig *config) |
| Configures and activates LPS22HB Complex Driver peripheral. | |
| void | lps22hbStop (LPS22HBDriver *devp) |
| Deactivates the LPS22HB Complex Driver peripheral. | |
Variables | |
| static const struct LPS22HBVMT | vmt_device |
| static const struct BaseBarometerVMT | vmt_barometer |
| static const struct BaseThermometerVMT | vmt_thermometer |
LPS22HB MEMS interface module code.
Definition in file lps22hb.c.