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.h File Reference

lps22hb.h File Reference

LPS22HB header driver file. More...

Go to the source code of this file.

Functions

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.
void SENSOR_IO_Init (void)
 Initializes Sensors low level.
void SENSOR_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value)
 Writes a single data.
uint8_t SENSOR_IO_Read (uint8_t Addr, uint8_t Reg)
 Reads a single data.
uint16_t SENSOR_IO_ReadMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length)
 Reads multiple data with I2C communication channel from TouchScreen.
void SENSOR_IO_WriteMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length)
 Writes multiple data with I2C communication channel from MCU to TouchScreen.

Detailed Description

LPS22HB header driver file.

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.h.