Farnell-Element14 Bologna IOT Team / BSP_B-L475E-IOT01

Dependencies:   VL53L0X

Fork of BSP_B-L475E-IOT01 by ST

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 160 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 170 of file lps22hb.c.