77 void installISR(
void (*isr)(
char*,
void*),
void* arg);
126 void extract3Axis(
char* data,
float* x,
float* y,
float* z);
129 mraa_iio_context m_iio;
130 int m_iio_device_num;
131 bool m_mount_matrix_exist;
132 float m_mount_matrix[9];
int64_t getChannelValue(unsigned char *input, mraa_iio_channel *chan)
Definition: kxcjk1013.cxx:74
bool setScale(const float scale)
Definition: kxcjk1013.cxx:145
bool enable3AxisChannel()
Definition: kxcjk1013.cxx:162
~KXCJK1013()
Definition: kxcjk1013.cxx:61
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
KXCJK1013(int device)
Definition: kxcjk1013.cxx:35
KXCJK1013 Tri-axis Digital Accelerometer API.
Definition: kxcjk1013.hpp:54
bool disableBuffer()
Definition: kxcjk1013.cxx:137
void extract3Axis(char *data, float *x, float *y, float *z)
Definition: kxcjk1013.cxx:178
bool enableBuffer(int length)
Definition: kxcjk1013.cxx:127
void installISR(void(*isr)(char *, void *), void *arg)
Definition: kxcjk1013.cxx:68
bool setSamplingFrequency(const float sampling_frequency)
Definition: kxcjk1013.cxx:154