c9dof2 2.0.0.0
|
This file contains API for 9 DOF 2 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | c9dof2_t |
Click ctx object definition. More... | |
struct | c9dof2_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | c9dof2_cfg_setup (c9dof2_cfg_t *cfg) |
Config Object Initialization function. | |
C9DOF2_RETVAL | c9dof2_init (c9dof2_t *ctx, c9dof2_cfg_t *cfg) |
Initialization function. | |
void | c9dof2_write_byte (c9dof2_t *ctx, uint8_t reg, uint8_t wr_data) |
Write Byte function. | |
void | c9dof2_write_data (c9dof2_t *ctx, uint8_t reg, int16_t wr_data) |
Write Data function. | |
uint8_t | c9dof2_read_byte (c9dof2_t *ctx, uint8_t reg) |
Read Byte function. | |
int16_t | c9dof2_read_data (c9dof2_t *ctx, uint8_t reg) |
Read Data function. | |
void | c9dof2_dev_rst (c9dof2_t *ctx) |
Device Reset function. | |
void | c9dof2_power (c9dof2_t *ctx, uint8_t on_off) |
Power up function. | |
void | c9dof2_def_settings (c9dof2_t *ctx) |
Default settings function. | |
void | c9dof2_read_gyroscope (c9dof2_t *ctx, int16_t *gyro_x, int16_t *gyro_y, int16_t *gyro_z) |
Read gyroscope data function. | |
void | c9dof2_angular_rate (c9dof2_t *ctx, float *x_ang_rte, float *y_ang_rte, float *z_ang_rte) |
Read Angular Rate function. | |
void | c9dof2_read_accelerometer (c9dof2_t *ctx, int16_t *accel_x, int16_t *accel_y, int16_t *accel_z) |
Read accelerometer data function. | |
void | c9dof2_acceleration_rate (c9dof2_t *ctx, float *x_accel_rte, float *y_accel_rte, float *z_accel_rte) |
Read acceleration Rate function. | |
float | c9dof2_read_temperature (c9dof2_t *ctx, float temp_offs) |
Read temperture function. | |
uint8_t | c9dof2_check_int (c9dof2_t *ctx) |
Check Interrupt state function. | |
void | c9dof2_snc_pin (c9dof2_t *ctx, uint8_t state) |
FSYNC Pin State function. | |
This file contains API for 9 DOF 2 Click driver.