projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos]
/
src
/
drivers
/
ao_max6691.h
diff --git
a/src/drivers/ao_max6691.h
b/src/drivers/ao_max6691.h
index 0c422d9e7e37daaed999931c856b6725b3c60808..b6186daf74d7ef04664d93f0e0370869e2718b0f 100644
(file)
--- a/
src/drivers/ao_max6691.h
+++ b/
src/drivers/ao_max6691.h
@@
-15,6
+15,17
@@
#ifndef _AO_MAX6691_H_
#define _AO_MAX6691_H_
#ifndef _AO_MAX6691_H_
#define _AO_MAX6691_H_
+#define AO_MAX6691_CHANNELS 4
+
+struct ao_max6691_sample {
+ struct {
+ uint16_t t_high;
+ uint16_t t_low;
+ } sensor[AO_MAX6691_CHANNELS];
+};
+
+extern struct ao_max6691_sample ao_max6691_current;
+
void
ao_max6691_init(void);
void
ao_max6691_init(void);