![]() |
IoT Drivers
v3.3.0 (S2022)
Engineering in Software Technology
|
Driver to Honeywell HIH8120 Temperature and Humidity sensor found on the VIA ARDUINO MEGA2560 Shield rev. 2.0 More...
#include <stdbool.h>
Go to the source code of this file.
Typedefs | |
typedef enum hih8120_driverReturnCodes | hih8120_driverReturnCode_t |
HIH8120 Driver return codes. More... | |
Enumerations | |
enum | hih8120_driverReturnCodes { HIH8120_OK, HIH8120_OUT_OF_HEAP, HIH8120_DRIVER_NOT_INITIALISED, HIH8120_TWI_BUSY } |
HIH8120 Driver return codes. More... | |
Functions | |
hih8120_driverReturnCode_t | hih8120_initialise (void) |
Initialise the HIH8120 driver. More... | |
hih8120_driverReturnCode_t | hih8120_destroy (void) |
Destroy the HIH8120 driver. More... | |
bool | hih8120_isReady (void) |
Test if result is ready. More... | |
hih8120_driverReturnCode_t | hih8120_wakeup (void) |
Wakes up the HIH8180 sensor. More... | |
hih8120_driverReturnCode_t | hih8120_measure (void) |
Fetch the latest results from the HIH8180 sensor. More... | |
uint16_t | hih8120_getHumidityPercent_x10 (void) |
Get latest measured relative humidity percent in tenths of %. More... | |
int16_t | hih8120_getTemperature_x10 (void) |
Get latest measured temperature in tenths of C. More... | |
float | hih8120_getHumidity (void) |
Get latest measured relative humidity percent. More... | |
float | hih8120_getTemperature (void) |
Get latest measured temperature in C. More... | |
Driver to Honeywell HIH8120 Temperature and Humidity sensor found on the VIA ARDUINO MEGA2560 Shield rev. 2.0