Contains the BSP driver for the B-L475E-IOT01 board.

Dependents:   mbed-os-example-ble-Thermometer DISCO_L475VG_IOT01-Telegram-BOT DISCO_L475VG_IOT01-sche_cheveux DISCO_L475VG_IOT01-QSPI_FLASH_FILE_SYSTEM ... more

Embed: (wiki syntax)

« Back to documentation index

lps22hb.c File Reference

lps22hb.c File Reference

This file provides a set of functions needed to manage the LPS22HB pressure and temperature devices. More...

Go to the source code of this file.

Functions

static void LPS22HB_Init (uint16_t DeviceAddr)
 Set LPS22HB Initialization.
void LPS22HB_P_Init (uint16_t DeviceAddr)
 Set LPS22HB pressure sensor Initialization.
uint8_t LPS22HB_P_ReadID (uint16_t DeviceAddr)
 Read LPS22HB ID.
float LPS22HB_P_ReadPressure (uint16_t DeviceAddr)
 Read pressure value of LPS22HB.
void LPS22HB_T_Init (uint16_t DeviceAddr, TSENSOR_InitTypeDef *pInitStruct)
 Set LPS22HB temperature sensor Initialization.
float LPS22HB_T_ReadTemp (uint16_t DeviceAddr)
 Read temperature value of LPS22HB.

Detailed Description

This file provides a set of functions needed to manage the LPS22HB pressure and temperature devices.

Author:
MCD Application Team
Attention:

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file lps22hb.c.