blob: 44effd6a5d1d6062f8c7562637b1381b36de2e77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef _HIH61XX_INCLUDED
#define _HIH61xx_INCLUDED
#include "deftypes.h"
/*
extern int file;
void hih61xx_list_all(void);
void hih61xx_read_all(const char *opts);
*/
void hih61xx_print_all(void);
void hih61xx_read_all(const uchar *opts);
void hih61xx_read_one(const uchar *opts);
void hih61xx_conf_set(const uchar *opts);
// Local functions
// uchar *xchg_data (uchar *buf, uint8 wrlen, uint8 waitlen, uint8 rdlen);
// static float calc_temp(uchar *buf, float offset);
// static uchar calc_status(uchar *buf);
// static float calc_humidity(uchar *buf, float offset);
// void hih61xx_get_data(void);
// unsigned char hih61xx_read_status(void);
// float hih61xx_calc_humidity(float offset);
// float hih61xx_read_temp(float offset);
#endif
|