]> rtime.felk.cvut.cz Git - hydro.git/blob - app/hydro/adc.h
Minor repairs, adding analog-digital convertor source code
[hydro.git] / app / hydro / adc.h
1 #ifndef _TEMP_ADC_H
2 #define _TEMP_ADC_H
3
4 #include <stdio.h>
5
6 typedef struct
7 {
8   int temp;
9   int hum;
10 } adc_stat_t;
11
12
13 typedef struct
14 {
15
16 } adc_cal_t;
17
18 #ifndef OS_POSIX
19     #include <system_def.h>
20     #include <cpu_def.h>
21 #endif
22
23     int get_adc(adc_stat_t * adcst);
24     int init_adc();
25
26 #endif