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

HTS221 Temperature Private Functions

HTS221 Temperature Private Functions
[HTS221]

Functions

void HTS221_T_Init (uint16_t DeviceAddr, TSENSOR_InitTypeDef *pInitStruct)
 Set HTS221 temperature sensor Initialization.
float HTS221_T_ReadTemp (uint16_t DeviceAddr)
 Read temperature value of HTS221.

Function Documentation

void HTS221_T_Init ( uint16_t  DeviceAddr,
TSENSOR_InitTypeDef *  pInitStruct 
)

Set HTS221 temperature sensor Initialization.

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

Definition at line 175 of file hts221.c.

float HTS221_T_ReadTemp ( uint16_t  DeviceAddr )

Read temperature value of HTS221.

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

Definition at line 202 of file hts221.c.