c6dofimu6 2.0.0.0
|
This file contains API for 6DOF IMU 6 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 | c6dofimu6_s |
Click ctx object definition. More... | |
struct | c6dofimu6_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | c6dofimu6_select_t |
Communication type. | |
typedef void(* | c6dofimu6_master_io_t) (struct c6dofimu6_s *, uint8_t, uint8_t *, uint16_t) |
Master Input/Output type. | |
typedef struct c6dofimu6_s | c6dofimu6_t |
Click ctx object definition. | |
Functions | |
void | c6dofimu6_cfg_setup (c6dofimu6_cfg_t *cfg) |
Config Object Initialization function. | |
C6DOFIMU6_RETVAL | c6dofimu6_init (c6dofimu6_t *ctx, c6dofimu6_cfg_t *cfg) |
Initialization function. | |
void | c6dofimu6_default_cfg (c6dofimu6_t *ctx) |
Click Default Configuration function. | |
void | c6dofimu6_generic_write (c6dofimu6_t *ctx, uint8_t reg, uint8_t *data_buf, uint16_t len) |
Generic write function. | |
void | c6dofimu6_generic_read (c6dofimu6_t *ctx, uint8_t reg, uint8_t *data_buf, uint16_t len) |
Generic read function. | |
void | c6dofimu6_power (c6dofimu6_t *ctx, uint8_t on_off) |
Power up function. | |
int16_t | c6dofimu6_read_gyro_x (c6dofimu6_t *ctx) |
Read Gyroscope X-axis data function. | |
int16_t | c6dofimu6_read_gyro_y (c6dofimu6_t *ctx) |
Read Gyroscope Y-axis data function. | |
int16_t | c6dofimu6_read_gyro_z (c6dofimu6_t *ctx) |
Read Gyroscope Z-axis data function. | |
void | c6dofimu6_read_gyroscope (c6dofimu6_t *ctx, int16_t *gyro_x, int16_t *gyro_y, int16_t *gyro_z) |
Read gyroscope data function. | |
void | c6dofimu6_angular_rate (c6dofimu6_t *ctx, float *x_ang_rte, float *y_ang_rte, float *z_ang_rte) |
Read Angular Rate function. | |
int16_t | c6dofimu6_read_accel_x (c6dofimu6_t *ctx) |
Read Accelerometer X-axis data function. | |
int16_t | c6dofimu6_read_accel_y (c6dofimu6_t *ctx) |
Read Accelerometer Y-axis data function. | |
int16_t | c6dofimu6_read_accel_z (c6dofimu6_t *ctx) |
Read Accelerometer Z-axis data function. | |
void | c6dofimu6_read_accelerometer (c6dofimu6_t *ctx, int16_t *accel_x, int16_t *accel_y, int16_t *accel_z) |
Read accelerometer data function. | |
void | c6dofimu6_acceleration_rate (c6dofimu6_t *ctx, float *x_accel_rte, float *y_accel_rte, float *z_accel_rte) |
Read acceleration Rate function. | |
float | c6dofimu6_read_temp_out (c6dofimu6_t *ctx) |
Read temperture function. | |
uint8_t | c6dofimu6_check_int_pin (c6dofimu6_t *ctx) |
Check Interrupt state function. | |
This file contains API for 6DOF IMU 6 Click driver.