c6dofimu14 2.0.0.0
|
This file contains API for 6DOF IMU 14 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | c6dofimu14_axis_t |
6DOF IMU 14 Axis structure object. More... | |
struct | c6dofimu14_s |
6DOF IMU 14 Click context object. More... | |
struct | c6dofimu14_cfg_t |
6DOF IMU 14 Click configuration object. More... | |
Typedefs | |
typedef err_t(* | c6dofimu14_master_io_t) (struct c6dofimu14_s *, uint8_t, uint8_t *, uint8_t) |
6DOF IMU 14 Click driver interface. | |
typedef struct c6dofimu14_s | c6dofimu14_t |
6DOF IMU 14 Click context object. | |
Enumerations | |
enum | c6dofimu14_drv_t { C6DOFIMU14_DRV_SEL_SPI , C6DOFIMU14_DRV_SEL_I2C } |
6DOF IMU 14 Click driver selector. More... | |
enum | c6dofimu14_return_value_t { C6DOFIMU14_OK = 0 , C6DOFIMU14_ERROR = -1 } |
6DOF IMU 14 Click return value data. More... | |
Functions | |
void | c6dofimu14_cfg_setup (c6dofimu14_cfg_t *cfg) |
6DOF IMU 14 configuration object setup function. | |
void | c6dofimu14_drv_interface_selection (c6dofimu14_cfg_t *cfg, c6dofimu14_drv_t drv_sel) |
6DOF IMU 14 driver interface setup function. | |
err_t | c6dofimu14_init (c6dofimu14_t *ctx, c6dofimu14_cfg_t *cfg) |
6DOF IMU 14 initialization function. | |
err_t | c6dofimu14_default_cfg (c6dofimu14_t *ctx) |
6DOF IMU 14 default configuration function. | |
err_t | c6dofimu14_generic_write (c6dofimu14_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
6DOF IMU 14 data writing function. | |
err_t | c6dofimu14_generic_read (c6dofimu14_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
6DOF IMU 14 data reading function. | |
uint8_t | c6dofimu14_get_int_pin (c6dofimu14_t *ctx) |
6DOF IMU 14 get INT pin state function. | |
uint8_t | c6dofimu14_get_snc_pin (c6dofimu14_t *ctx) |
6DOF IMU 14 get SNC pin state function. | |
err_t | c6dofimu14_software_reset (c6dofimu14_t *ctx) |
6DOF IMU 14 software reset function. | |
err_t | c6dofimu14_get_data (c6dofimu14_t *ctx, c6dofimu14_axis_t *acc_axis, c6dofimu14_axis_t *gyro_axis) |
6DOF IMU 14 get accel and gyro data function. | |
err_t | c6dofimu14_get_temperature (c6dofimu14_t *ctx, float *temp) |
6DOF IMU 14 get temperature data function. | |
err_t | c6dofimu14_get_accel_axis (c6dofimu14_t *ctx, c6dofimu14_axis_t *axis) |
6DOF IMU 14 get accel data function. | |
err_t | c6dofimu14_get_gyro_axis (c6dofimu14_t *ctx, c6dofimu14_axis_t *axis) |
6DOF IMU 14 get gyro data function. | |
This file contains API for 6DOF IMU 14 Click Driver.
typedef err_t(* c6dofimu14_master_io_t) (struct c6dofimu14_s *, uint8_t, uint8_t *, uint8_t) |
6DOF IMU 14 Click driver interface.
Definition of driver interface of 6DOF IMU 14 Click driver. Driver serial interface.
typedef struct c6dofimu14_s c6dofimu14_t |
6DOF IMU 14 Click context object.
Context object definition of 6DOF IMU 14 Click driver.
enum c6dofimu14_drv_t |