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

Show/hide line numbers hsensor.h Source File

hsensor.h

Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    hsensor.h
00004   * @author  MCD Application Team
00005   * @brief   This header file contains the functions prototypes for the
00006   *          Humidity Sensor driver.
00007   ******************************************************************************
00008   * @attention
00009   *
00010   * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
00011   * All rights reserved.</center></h2>
00012   *
00013   * This software component is licensed by ST under BSD 3-Clause license,
00014   * the "License"; You may not use this file except in compliance with the
00015   * License. You may obtain a copy of the License at:
00016   *                        opensource.org/licenses/BSD-3-Clause
00017   *
00018   ******************************************************************************
00019   */
00020 
00021 /* Define to prevent recursive inclusion -------------------------------------*/
00022 #ifndef __HSENSOR_H
00023 #define __HSENSOR_H
00024 
00025 #ifdef __cplusplus
00026  extern "C" {
00027 #endif
00028 
00029 /* Includes ------------------------------------------------------------------*/
00030 #include <stdint.h>
00031 
00032 /** @addtogroup BSP
00033   * @{
00034   */
00035 
00036 /** @addtogroup Components
00037   * @{
00038   */
00039     
00040 /** @addtogroup HSENSOR
00041   * @{
00042   */
00043 
00044 /** @defgroup HSENSOR_Exported_Types
00045   * @{
00046   */ 
00047 
00048 /** @defgroup HSENSOR_Driver_structure  Humidity Sensor Driver structure
00049   * @{
00050   */
00051 typedef struct
00052 {
00053   void       (*Init)(uint16_t); 
00054   uint8_t    (*ReadID)(uint16_t);
00055   float      (*ReadHumidity)(uint16_t); 
00056 }HSENSOR_DrvTypeDef;
00057 /**
00058   * @}
00059   */
00060 
00061 /**
00062   * @}
00063   */
00064 
00065 /**
00066   * @}
00067   */
00068 
00069 /**
00070   * @}
00071   */
00072 
00073 /**
00074   * @}
00075   */
00076 
00077 #ifdef __cplusplus
00078 }
00079 #endif
00080 
00081 #endif /* __HSENSOR_H */
00082 
00083 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/