ST / BSP_B-L475E-IOT01

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

hts221.c File Reference

This file provides a set of functions needed to manage the HTS221 humidity and temperature devices. More...

Go to the source code of this file.

Functions

void HTS221_H_Init (uint16_t DeviceAddr)
 Set HTS221 humidity sensor Initialization.
uint8_t HTS221_H_ReadID (uint16_t DeviceAddr)
 Read HTS221 ID.
float HTS221_H_ReadHumidity (uint16_t DeviceAddr)
 Read humidity value of HTS221.
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.

Detailed Description

This file provides a set of functions needed to manage the HTS221 humidity and temperature devices.

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 hts221.c.