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

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 157 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 184 of file hts221.c.