c6dofimu10 2.0.0.0
|
This file contains API for c6DOF IMU 10 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | c6dofimu10_axis_t |
Axis structure. More... | |
struct | c6dofimu10_motion_t |
Motion interrupt structure. More... | |
struct | c6dofimu10_t |
Click ctx object definition. More... | |
struct | c6dofimu10_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | c6dofimu10_cfg_setup (c6dofimu10_cfg_t *cfg) |
Config Object Initialization function. | |
c6DOFIMU10_RETVAL | c6dofimu10_init (c6dofimu10_t *ctx, c6dofimu10_cfg_t *cfg) |
Initialization function. | |
void | c6dofimu10_default_cfg (c6dofimu10_t *ctx) |
Click Default Configuration function. | |
void | c6dofimu10_generic_write (c6dofimu10_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | c6dofimu10_generic_read (c6dofimu10_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | c6dofimu10_measurement_cfg (c6dofimu10_t *ctx, c6dofimu10_cfg_t *cfg) |
Measurement config. | |
void | c6dofimu10_get_accel_axis (c6dofimu10_t *ctx, c6dofimu10_axis_t *axis) |
Accelerometer axis data. | |
void | c6dofimu10_get_mag_axis (c6dofimu10_t *ctx, c6dofimu10_axis_t *axis) |
Magnetometer axis data. | |
float | c6dofimu10_get_temperature (c6dofimu10_t *ctx, uint8_t temp_format) |
Temperature data. | |
uint8_t | c6dofimu10_communication_test (c6dofimu10_t *ctx) |
Communication test. | |
void | c6dofimu10_get_motion (c6dofimu10_t *ctx, uint8_t sensor_reg, c6dofimu10_motion_t *motion_obj) |
Get motion interrupt status. | |
uint8_t | c6dofimu10_get_interrupt (c6dofimu10_t *ctx, uint8_t int_pin) |
Get interrupt pin status. | |
This file contains API for c6DOF IMU 10 Click driver.