aboutsummaryrefslogtreecommitdiff
path: root/accel.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel.h')
-rw-r--r--accel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/accel.h b/accel.h
index 7d82933..6c1022d 100644
--- a/accel.h
+++ b/accel.h
@@ -4,10 +4,14 @@
#include <stdbool.h>
#include <stdint.h>
+typedef enum {HORIZON_NONE, HORIZON_POS, HORIZON_NEG} horizon;
+
void accelInit ();
void accelStart ();
bool accelProcess ();
volatile const int8_t *accelGet ();
+const uint8_t accelGetShakeCount ();
+const horizon accelGetHorizon ();
#endif /* ACCEL_H */