c6dofimu 2.0.0.0
|
This file contains API for 6DOF IMU 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 | c6dofimu_axis_t |
Gyro/Accel Axis structure. More... | |
struct | c6dofimu_s |
Click ctx object definition. More... | |
struct | c6dofimu_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | c6dofimu_select_t |
Communication type. | |
typedef void(* | c6dofimu_master_io_t) (struct c6dofimu_s *, uint8_t, uint8_t *, uint8_t) |
Master Input/Output type. | |
typedef struct c6dofimu_s | c6dofimu_t |
Click ctx object definition. | |
Functions | |
void | c6dofimu_cfg_setup (c6dofimu_cfg_t *cfg) |
Config Object Initialization function. | |
C6DOFIMU_RETVAL | c6dofimu_init (c6dofimu_t *ctx, c6dofimu_cfg_t *cfg) |
Initialization function. | |
void | c6dofimu_default_cfg (c6dofimu_t *ctx) |
Click Default Configuration function. | |
void | c6dofimu_generic_write (c6dofimu_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | c6dofimu_generic_read (c6dofimu_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | c6dofimu_read_axis_data (c6dofimu_t *ctx, uint8_t read_mode) |
Read axis data function. | |
float | c6dofimu_read_temperature (c6dofimu_t *ctx) |
Read temperature data function. | |
uint8_t | c6dofimu_digital_read_int (c6dofimu_t *ctx) |
Digital read interrupt function. | |
This file contains API for 6DOF IMU Click driver.