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 Temperature Private Functions

LPS22HB Temperature Private Functions
[LPS22HB]

Functions

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.

Function Documentation

void LPS22HB_T_Init ( uint16_t  DeviceAddr,
TSENSOR_InitTypeDef *  pInitStruct 
)

Set LPS22HB temperature sensor Initialization.

Parameters:
DeviceAddr,:I2C device address
InitStruct,:pointer to a TSENSOR_InitTypeDef structure that contains the configuration setting for the HTS221.
Return values:
None

Definition at line 142 of file lps22hb.c.

float LPS22HB_T_ReadTemp ( uint16_t  DeviceAddr )

Read temperature value of LPS22HB.

Parameters:
DeviceAddr,:I2C device address
Return values:
temperaturevalue

Definition at line 152 of file lps22hb.c.