Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-os-example-ble-Thermometer DISCO_L475VG_IOT01-Telegram-BOT DISCO_L475VG_IOT01-sche_cheveux DISCO_L475VG_IOT01-QSPI_FLASH_FILE_SYSTEM ... more
Functions | |
| uint32_t | BSP_PSENSOR_Init (void) |
| Initializes peripherals used by the I2C Pressure Sensor driver. | |
| uint8_t | BSP_PSENSOR_ReadID (void) |
| Read ID of LPS22HB. | |
| float | BSP_PSENSOR_ReadPressure (void) |
| Read Pressure register of LPS22HB. | |
Function Documentation
| uint32_t BSP_PSENSOR_Init | ( | void | ) |
Initializes peripherals used by the I2C Pressure Sensor driver.
- Return values:
-
PSENSOR status
Definition at line 51 of file stm32l475e_iot01_psensor.c.
| uint8_t BSP_PSENSOR_ReadID | ( | void | ) |
Read ID of LPS22HB.
- Return values:
-
LPS22HB ID value.
Definition at line 75 of file stm32l475e_iot01_psensor.c.
| float BSP_PSENSOR_ReadPressure | ( | void | ) |
Read Pressure register of LPS22HB.
- Return values:
-
LPS22HB measured pressure value.
Definition at line 84 of file stm32l475e_iot01_psensor.c.
Generated on Tue Jul 12 2022 13:55:42 by
1.7.2