c6dofimu5 2.0.0.0
|
This file contains API for C6DOF IMU 5 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 | c6dofimu5_process_data_t |
struct | c6dofimu5_s |
Click ctx object definition. More... | |
struct | c6dofimu5_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef struct c6dofimu5_s | c6dofimu5_t |
Click ctx object definition. | |
Functions | |
void | c6dofimu5_cfg_setup (c6dofimu5_cfg_t *cfg) |
Config Object Initialization function. | |
C6DOFIMU5_RETVAL | c6dofimu5_init (c6dofimu5_t *ctx, c6dofimu5_cfg_t *cfg) |
Initialization function. | |
void | c6dofimu5_default_cfg (c6dofimu5_t *ctx) |
Click Default Configuration function. | |
void | c6dofimu5_write_bytes (c6dofimu5_t *ctx, uint8_t reg, uint8_t *wr_data, uint16_t n_bytes) |
Generic write function. | |
void | c6dofimu5_read_bytes (c6dofimu5_t *ctx, uint8_t reg, uint8_t *rd_data, uint16_t n_bytes) |
Generic read function. | |
void | c6dofimu5_power (c6dofimu5_t *ctx, uint8_t on_off) |
Power up function. | |
int16_t | c6dofimu5_read_gyro_x (c6dofimu5_t *ctx) |
Read Gyroscope X-axis data function. | |
int16_t | c6dofimu5_read_gyro_y (c6dofimu5_t *ctx) |
Read Gyroscope Y-axis data function. | |
int16_t | c6dofimu5_read_gyro_z (c6dofimu5_t *ctx) |
Read Gyroscope Z-axis data function. | |
void | c6dofimu5_read_gyroscope (c6dofimu5_t *ctx, int16_t *gyro_x, int16_t *gyro_y, int16_t *gyro_z) |
Read gyroscope data function. | |
void | c6dofimu5_angular_rate (c6dofimu5_t *ctx, float *x_ang_rte, float *y_ang_rte, float *z_ang_rte) |
Read Angular Rate function. | |
int16_t | c6dofimu5_read_accel_x (c6dofimu5_t *ctx) |
Read Accelerometer X-axis data function. | |
int16_t | c6dofimu5_read_accel_y (c6dofimu5_t *ctx) |
Read Accelerometer Y-axis data function. | |
int16_t | c6dofimu5_read_accel_z (c6dofimu5_t *ctx) |
Read Accelerometer Z-axis data function. | |
void | c6dofimu5_read_accelerometer (c6dofimu5_t *ctx, int16_t *accel_x, int16_t *accel_y, int16_t *accel_z) |
Read accelerometer data function. | |
void | c6dofimu5_acceleration_rate (c6dofimu5_t *ctx, float *x_accel_rte, float *y_accel_rte, float *z_accel_rte) |
Read acceleration Rate function. | |
float | c6dofimu5_read_temp_out (c6dofimu5_t *ctx) |
Read temperture function. | |
void | c6dofimu5_baro_read (c6dofimu5_t *ctx, uint16_t cmd, uint8_t *data_out, uint16_t n_bytes) |
Barometer Read function. | |
void | c6dofimu5_baro_write (c6dofimu5_t *ctx, uint8_t *data_in, uint16_t n_bytes) |
Barometer Write function. | |
void | c6dofimu5_baro_settings (c6dofimu5_t *ctx) |
I2C Barometer Settings function. | |
uint8_t | c6dofimu5_baro_id_read (c6dofimu5_t *ctx) |
Barometer ID Readout function. | |
void | c6dofimu5_baro_soft_rst (c6dofimu5_t *ctx) |
Soft Reset Command function. | |
void | c6dofimu5_process_data (c6dofimu5_t *ctx, c6dofimu5_process_data_t *process_d) |
Process data function. | |
void | c6dofimu5_read_raw_data (c6dofimu5_t *ctx, uint32_t *pres, uint16_t *temp) |
Read raw data function. | |
uint8_t | c6dofimu5_check_int_pin (c6dofimu5_t *ctx) |
Check Interrupt state function. | |
This file contains API for C6DOF IMU 5 Click driver.