c6dofimu3 2.0.0.0
|
This file contains API for 6 Dof imu 3 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 | c6dofimu3_accel_t |
struct | c6dofimu3_mag_t |
struct | c6dofimu3_s |
Click ctx object definition. More... | |
struct | c6dofimu3_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | c6dofimu3_select_t |
Communication type. | |
typedef void(* | c6dofimu3_master_io_t) (struct c6dofimu3_s *, uint8_t, uint8_t *, uint8_t) |
Master Input/Output type. | |
typedef struct c6dofimu3_s | c6dofimu3_t |
Click ctx object definition. | |
Functions | |
void | c6dofimu3_cfg_setup (c6dofimu3_cfg_t *cfg) |
Config Object Initialization function. | |
C6DOFIMU3_RETVAL | c6dofimu3_init (c6dofimu3_t *ctx, c6dofimu3_cfg_t *cfg) |
Initialization function. | |
void | c6dofimu3_default_cfg (c6dofimu3_t *ctx) |
Click Default Configuration function. | |
void | c6dofimu3_generic_write (c6dofimu3_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | c6dofimu3_generic_read (c6dofimu3_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | c6dofimu3_set_rst (c6dofimu3_t *ctx, uint8_t rst_state) |
Set RST pin state function. | |
void | c6dofimu3_multi_write (c6dofimu3_t *ctx, uint8_t reg, uint8_t *p_tx_data, uint8_t n_bytes) |
Multi data write function. | |
void | c6dofimu3_multi_read (c6dofimu3_t *ctx, uint8_t reg, uint8_t *p_rx_data, uint8_t n_bytes) |
Multi data read function. | |
C6DOFIMU3_RETVAL_T | c6dofimu3_check_id (c6dofimu3_t *ctx) |
Check ID function. | |
C6DOFIMU3_RETVAL_T | c6dofimu3_check_data_ready (c6dofimu3_t *ctx) |
Check data ready function. | |
void | c6dofimu3_standby (c6dofimu3_t *ctx) |
Set standby mode function. | |
void | c6dofimu3_active (c6dofimu3_t *ctx) |
Set active mode function. | |
void | c6dofimu3_read_accel_data (c6dofimu3_t *ctx, c6dofimu3_accel_t *accel_data) |
Read Accel data function. | |
void | c6dofimu3_read_mag_data (c6dofimu3_t *ctx, c6dofimu3_mag_t *mag_data) |
Read Magnetometer data function. | |
void | c6dofimu3_get_data (c6dofimu3_t *ctx, c6dofimu3_accel_t *accel_data, c6dofimu3_mag_t *mag_data) |
Read Accel and Magnetometer data function. | |
uint8_t | c6dofimu3_check_int1 (c6dofimu3_t *ctx) |
Get interrupt ststus function. | |
This file contains API for 6 Dof imu 3 Click driver.