aboutsummaryrefslogtreecommitdiffstats
path: root/src/hih61xx.h
blob: 656e0e4f80ea67009debc86822587f5129336ff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _HIH61XX_INCLUDED
#define _HIH61xx_INCLUDED

#include "deftypes.h"


void hih61xx_print_all(const uchar *opts);
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);


#endif