altos: get ao_max6691 driver working
[fw/altos] / src / drivers / ao_max6691.h
index 0c422d9e7e37daaed999931c856b6725b3c60808..ab8207f9c7cabc0cd868aa3b3f3a0cc8adebc204 100644 (file)
 #ifndef _AO_MAX6691_H_
 #define _AO_MAX6691_H_
 
+#define AO_MAX6691_CHANNELS    4
+
+struct ao_max6691 {
+       struct {
+               uint16_t        t_high;
+               uint16_t        t_low;
+       } sensor[AO_MAX6691_CHANNELS];
+};
+
+void
+ao_max6691_sample(struct ao_max6691 *ao_max6691);
+
 void
 ao_max6691_init(void);