75 void installISR(
void (*isr)(
char*),
void* arg);
118 void extract3Axis(
char* data,
float* x,
float* y,
float* z);
121 mraa_iio_context m_iio;
122 int m_iio_device_num;
123 bool m_mount_matrix_exist;
124 float m_mount_matrix[9];
int64_t getChannelValue(unsigned char *input, mraa_iio_channel *chan)
Definition: kxcjk1013.cxx:71
bool setScale(const float scale)
Definition: kxcjk1013.cxx:143
bool enable3AxisChannel()
Definition: kxcjk1013.cxx:159
~KXCJK1013()
Definition: kxcjk1013.cxx:59
KXCJK1013(int device)
Definition: kxcjk1013.cxx:33
KXCJK1013 Tri-axis Digital Accelerometer API.
Definition: kxcjk1013.h:53
bool disableBuffer()
Definition: kxcjk1013.cxx:135
void extract3Axis(char *data, float *x, float *y, float *z)
Definition: kxcjk1013.cxx:175
bool enableBuffer(int length)
Definition: kxcjk1013.cxx:125
void installISR(void(*isr)(char *), void *arg)
Definition: kxcjk1013.cxx:65
bool setSamplingFrequency(const float sampling_frequency)
Definition: kxcjk1013.cxx:151