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

hts221.h File Reference

HTS221 header driver file. 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.
void SENSOR_IO_Init (void)
 Initializes Sensors low level.
void SENSOR_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value)
 Writes a single data.
uint8_t SENSOR_IO_Read (uint8_t Addr, uint8_t Reg)
 Reads a single data.
uint16_t SENSOR_IO_ReadMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length)
 Reads multiple data with I2C communication channel from TouchScreen.
void SENSOR_IO_WriteMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length)
 Writes multiple data with I2C communication channel from MCU to TouchScreen.

Detailed Description

HTS221 header driver file.

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.h.