c6dofimu8 2.0.0.0
|
This file contains API for c6DOF IMU 8 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 | t_c6dofimu8_axis |
struct | c6dofimu8_s |
Click ctx object definition. More... | |
struct | c6dofimu8_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | c6dofimu8_select_t |
Communication type. | |
typedef void(* | c6dofimu8_master_io_t) (struct c6dofimu8_s *, uint8_t, uint8_t *, uint8_t) |
Master Input/Output type. | |
typedef struct c6dofimu8_s | c6dofimu8_t |
Click ctx object definition. | |
Functions | |
void | c6dofimu8_cfg_setup (c6dofimu8_cfg_t *cfg) |
Config Object Initialization function. | |
C6DOFIMU8_RETVAL | c6dofimu8_init (c6dofimu8_t *ctx, c6dofimu8_cfg_t *cfg) |
Initialization function. | |
void | c6dofimu8_default_cfg (c6dofimu8_t *ctx) |
Click Default Configuration function. | |
void | c6dofimu8_generic_write (c6dofimu8_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | c6dofimu8_generic_read (c6dofimu8_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | c6dofimu8_write_byte (c6dofimu8_t *ctx, uint8_t reg_addr, uint8_t data_in) |
Single Byte Write functions. | |
uint8_t | c6dofimu8_read_byte (c6dofimu8_t *ctx, uint8_t reg_addr, uint8_t *data_out) |
Single Byte Read function. | |
uint8_t | c6dofimu8_write_word (c6dofimu8_t *ctx, uint8_t reg_addr, uint16_t data_in) |
Word Write function. | |
uint8_t | c6dofimu8_read_word (c6dofimu8_t *ctx, uint8_t reg_addr, uint16_t *data_out) |
Word Read function. | |
uint8_t | c6dofimu8_write_bytes (c6dofimu8_t *ctx, uint8_t start_addr, uint8_t *data_in, uint8_t n_bytes) |
Sequential Write function. | |
uint8_t | c6dofimu8_read_bytes (c6dofimu8_t *ctx, uint8_t start_addr, uint8_t *data_out, uint8_t n_bytes) |
equential Read function. | |
void | c6dofimu8_reset (c6dofimu8_t *ctx) |
Device SW Reset function. | |
uint8_t | c6dofimu8_get_int_1_pin (c6dofimu8_t *ctx) |
INT1 Pin Check function. | |
uint8_t | c6dofimu8_get_int_2_pin (c6dofimu8_t *ctx) |
INT2 Pin Check function. | |
uint8_t | c6dofimu8_get_drdy_status (c6dofimu8_t *ctx, uint8_t bit_mask) |
Status Check function. | |
void | c6dofimu8_get_data (c6dofimu8_t *ctx, t_c6dofimu8_axis *accel_out, t_c6dofimu8_axis *gyro_out, int8_t *temp_out) |
Data Get function. | |
uint8_t | c6dofimu8_set_fsr (c6dofimu8_t *ctx, uint8_t gyro_fsr, uint8_t accel_fsr) |
Full Scale Setting function. | |
uint8_t | c6dofimu8_set_odr (c6dofimu8_t *ctx, uint8_t gyro_odr, uint8_t accel_odr) |
Data Rate Setting function. | |
void | c6dofimu8_get_magnetometer_data (c6dofimu8_t *ctx, t_c6dofimu8_axis *magneto_out) |
Magnetometer Data Get function. | |
This file contains API for c6DOF IMU 8 Click driver.