PicoWAN SDK Documentation
accelerometer.h
Go to the documentation of this file.
1 
31 #ifndef _ACCELEROMETER_H_
32 #define _ACCELEROMETER_H_
33 
34 #include <stdint.h>
35 
36 enum {
37  ACC1_INT,
38  ACC2_INT,
39 };
40 
41 
50 void accelerometer_init(void (*irq_cb)(uint8_t num));
51 
52 #endif /* _ACCELEROMETER_H_ */
void accelerometer_init(void(*irq_cb)(uint8_t num))
Initializes the accelerometer interrupt callback.
Definition: accelerometer.c:48