c6dofimu17 2.0.0.0
|
This file contains API for 6DOF IMU 17 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | c6dofimu17_s |
6DOF IMU 17 Click context object. More... | |
struct | c6dofimu17_cfg_t |
6DOF IMU 17 Click configuration object. More... | |
struct | c6dofimu17_axis_t |
6DOF IMU 17 Axis structure object. More... | |
struct | c6dofimu17_gyro_cfg_t |
6DOF IMU 17 Gyro configuration structure object. More... | |
struct | c6dofimu17_accel_cfg_t |
6DOF IMU 17 Accelerometer configuration structure object. More... | |
Typedefs | |
typedef err_t(* | c6dofimu17_master_io_t) (struct c6dofimu17_s *, uint8_t, uint8_t *, uint8_t) |
6DOF IMU 17 Click driver interface. | |
typedef struct c6dofimu17_s | c6dofimu17_t |
6DOF IMU 17 Click context object. | |
Enumerations | |
enum | c6dofimu17_drv_t { C6DOFIMU17_DRV_SEL_SPI , C6DOFIMU17_DRV_SEL_I2C } |
6DOF IMU 17 Click driver selector. More... | |
enum | c6dofimu17_return_value_t { C6DOFIMU17_OK = 0 , C6DOFIMU17_ERROR = -1 } |
6DOF IMU 17 Click return value data. More... | |
Functions | |
void | c6dofimu17_cfg_setup (c6dofimu17_cfg_t *cfg) |
6DOF IMU 17 configuration object setup function. | |
void | c6dofimu17_drv_interface_selection (c6dofimu17_cfg_t *cfg, c6dofimu17_drv_t drv_sel) |
6DOF IMU 17 driver interface setup function. | |
err_t | c6dofimu17_init (c6dofimu17_t *ctx, c6dofimu17_cfg_t *cfg) |
6DOF IMU 17 initialization function. | |
err_t | c6dofimu17_default_cfg (c6dofimu17_t *ctx) |
6DOF IMU 17 default configuration function. | |
err_t | c6dofimu17_generic_write (c6dofimu17_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
6DOF IMU 17 data writing function. | |
err_t | c6dofimu17_generic_read (c6dofimu17_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
6DOF IMU 17 data reading function. | |
err_t | c6dofimu17_bank_selection (c6dofimu17_t *ctx, uint8_t bank_sel) |
6DOF IMU 17 bank selection function. | |
uint8_t | c6dofimu17_get_interrupt (c6dofimu17_t *ctx) |
6DOF IMU 17 get interrupt function. | |
err_t | c6dofimu17_get_device_id (c6dofimu17_t *ctx, uint8_t *device_id) |
6DOF IMU 17 get device ID function. | |
err_t | c6dofimu17_temperature_enable (c6dofimu17_t *ctx) |
6DOF IMU 17 temperature enable function. | |
err_t | c6dofimu17_gyro_enable (c6dofimu17_t *ctx) |
6DOF IMU 17 gyroscope enable function. | |
err_t | c6dofimu17_accel_enable (c6dofimu17_t *ctx) |
6DOF IMU 17 accelerometer enable function. | |
err_t | c6dofimu17_set_config_gyro (c6dofimu17_t *ctx, c6dofimu17_gyro_cfg_t gyro_cfg) |
6DOF IMU 17 set config gyroscope function. | |
err_t | c6dofimu17_get_config_gyro (c6dofimu17_t *ctx, c6dofimu17_gyro_cfg_t *gyro_cfg) |
6DOF IMU 17 get config gyroscope function. | |
err_t | c6dofimu17_set_config_accel (c6dofimu17_t *ctx, c6dofimu17_accel_cfg_t accel_cfg) |
6DOF IMU 17 set config accelerometer function. | |
err_t | c6dofimu17_get_config_accel (c6dofimu17_t *ctx, c6dofimu17_accel_cfg_t *accel_cfg) |
6DOF IMU 17 get config accelerometer function. | |
err_t | c6dofimu17_soft_reset (c6dofimu17_t *ctx) |
6DOF IMU 17 soft reset function. | |
err_t | c6dofimu17_get_accel_data (c6dofimu17_t *ctx, c6dofimu17_axis_t *accel_data) |
6DOF IMU 17 get accel data function. | |
err_t | c6dofimu17_get_gyro_data (c6dofimu17_t *ctx, c6dofimu17_axis_t *gyro_data) |
6DOF IMU 17 get gyroscope data function. | |
err_t | c6dofimu17_get_temperature (c6dofimu17_t *ctx, float *temperature) |
6DOF IMU 17 get temperature data function. | |
This file contains API for 6DOF IMU 17 Click Driver.
typedef err_t(* c6dofimu17_master_io_t) (struct c6dofimu17_s *, uint8_t, uint8_t *, uint8_t) |
6DOF IMU 17 Click driver interface.
Definition of driver interface of 6DOF IMU 17 Click driver. Driver serial interface.
typedef struct c6dofimu17_s c6dofimu17_t |
6DOF IMU 17 Click context object.
Context object definition of 6DOF IMU 17 Click driver.
enum c6dofimu17_drv_t |