#ifndef __HDC_1080_H__
#define __HDC_1080_H__
#include "msystem.h"

typedef struct hdc_1080
{
    const char* name;
    FILE* fp_in_temp_raw;
    FILE* fp_in_temp_scale;
    FILE* fp_in_humidityrelative_raw;
    FILE* fp_in_humidityrelative_scale;
}hdc_1080_t;

int bsp_hdc1080_init(hdc_1080_t* dev, const char* name);

void bsp_hdc1080_exit(hdc_1080_t* dev);

float bsp_hdc1080_getTemp(hdc_1080_t* dev);

float bsp_hdc1080_getHumidityrelative(hdc_1080_t* dev);

#endif//__HDC_1080_H__

