aboutsummaryrefslogtreecommitdiffstats
path: root/src/lm75.h
blob: 600934ca60c6650a43cf31c7ac623f292b991049 (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
#ifndef _LM75_INCLUDED
#define _LM75_INCLUDED

#include "deftypes.h"

// extern int file;
// 
// void lm75_list_all(void);
// void lm75_read_all(const char *opts);  
// 
void lm75_print_all(void);              //# Global funcions, required by main()
void lm75_read_all(const uchar *opts);
void lm75_read_one(const uchar *opts);
void lm75_conf_set(const uchar *opts);

//unsigned char *read_data(unsigned char *buf);
float calculate_temp(float offset);
float read_tos(void);          
float read_thys(void);        
uchar read_conf(void);                                                                                                         

//__uint8_t
//__uint16_t
//__uint32_t
//__uint64_t
//__uint128_t
//__int8_t
// __int16_t
// __int32_t
// __int64_t
// __int128_t
// __u_char
//__u_long

#endif