c13dof 2.0.0.0
|
This file contains API for 13DOF Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | T_C13DOF_BME680_FIELD_DATA |
Click ctx object definition. More... | |
struct | T_C13DOF_BME680_CALIB_DATA |
struct | T_C13DOF_BME680_TPH_SETTINGS |
struct | T_C13DOF_BME680_GAS_SETTINGS |
struct | c13dof_t |
struct | c13dof_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | c13dof_cfg_setup (c13dof_cfg_t *cfg) |
Config Object Initialization function. | |
C13DOF_RETVAL | c13dof_init (c13dof_t *ctx, c13dof_cfg_t *cfg) |
Initialization function. | |
void | c13dof_default_cfg (c13dof_t *ctx) |
Click Default Configuration function. | |
void | c13dof_bme680_write_byte (c13dof_t *ctx, uint8_t reg_address, uint8_t write_data) |
Generic BME680 write the byte of data function. | |
uint8_t | c13dof_bme680_read_byte (c13dof_t *ctx, uint8_t reg_address) |
Generic BME680 read byte of data function. | |
C13DOF_BME680_RETVAL_T | c13dof_bme680_check_id (c13dof_t *ctx) |
Check BME680 device ID function. | |
uint8_t | c13dof_bme680_get_device_id (c13dof_t *ctx) |
Get BME680 device ID function. | |
void | c13dof_bme680_soft_reset (c13dof_t *ctx) |
Software BME680 reset function. | |
void | c13dof_bme680_get_calibration_data (c13dof_t *ctx) |
Get BME680 factory calibration parameters function. | |
float | c13dof_bme680_get_ambient_data (c13dof_t *ctx, uint8_t data_in) |
Get BME680 ambient data function. | |
float | c13dof_bme680_get_temperature (c13dof_t *ctx) |
Gets BME680 temperature in degrees Celsius function. | |
float | c13dof_bme680_get_humidity (c13dof_t *ctx) |
Gets BME680 humidity in percentage [ % ] function. | |
float | c13dof_bme680_get_pressure (c13dof_t *ctx) |
Gets BME680 pressure in degrees Celsius function. | |
uint32_t | c13dof_bme680_get_gas_resistance (c13dof_t *ctx) |
Gets BME680 gas resistance data function. | |
C13DOF_BMM150_RETVAL_T | c13dof_bmm150_write_byte (c13dof_t *ctx, uint8_t reg_address, uint8_t write_data) |
Generic BMM150 write the byte of data function. | |
uint8_t | c13dof_bmm150_read_byte (c13dof_t *ctx, uint8_t reg_address) |
Generic BMM150 read byte of data function. | |
C13DOF_BMM150_RETVAL_T | c13dof_bmm150_read_bytes (c13dof_t *ctx, uint8_t *data_out, uint8_t reg_address, uint8_t n_bytes) |
Generic BMM150 sequential data read function. | |
C13DOF_BMM150_RETVAL_T | c13dof_bmm150_check_ready (c13dof_t *ctx) |
Check BMM150 data ready status function. | |
void | c13dof_bmm150_read_geo_mag_data (c13dof_t *ctx, int16_t *mag_x, int16_t *mag_y, int16_t *mag_z, uint16_t *res_hall) |
Get BMM150 Geomagnetic sensors data function. | |
void | c13dof_bmm150_soft_reset (c13dof_t *ctx) |
Software BMM150 reset function. | |
void | c13dof_bmm150_power_on_reset (c13dof_t *ctx) |
BMM150 power ON reset function. | |
void | c13dof_bmi088_gyro_write_byte (c13dof_t *ctx, uint8_t reg_address, uint8_t write_data) |
Generic BMI088 Gyro write data function. | |
void | c13dof_bmi088_gyro_write_bytes (c13dof_t *ctx, uint8_t reg_address, uint8_t *write_data, uint8_t n_bytes) |
Generic sequential BMI088 Gyro write data function. | |
uint8_t | c13dof_bmi088_gyro_read_byte (c13dof_t *ctx, uint8_t reg_address) |
Generic BMI088 Gyro read data function. | |
C13DOF_BMI088_RETVAL_T | c13dof_bmi088_gyro_read_bytes (c13dof_t *ctx, uint8_t *data_out, uint8_t reg_address, uint8_t n_bytes) |
Generic BMI088 Gyro sequential data read function. | |
uint8_t | c13dof_bmi088_get_gyro_id (c13dof_t *ctx) |
Get BMI088 Gyro ID function. | |
C13DOF_BMI088_RETVAL_T | c13dof_bmi088_set_gyro_range (c13dof_t *ctx, uint8_t gyro_range) |
Set BMI088 Gyro range function. | |
C13DOF_BMI088_RETVAL_T | c13dof_bmi088_set_gyro_bandwidth (c13dof_t *ctx, uint8_t gyro_bandwidth) |
Set BMI088 Gyro bandwidth function. | |
void | c13dof_bmi088_soft_reset_giro (c13dof_t *ctx) |
Software BMI088 Gyro reset function. | |
int16_t | c13dof_bmi088_get_gyro_axis (c13dof_t *ctx, uint8_t adr_reg_LSB, uint8_t adr_reg_MSB) |
Get BMI088 Gyro axis data function. | |
void | c13dof_bmi088_read_gyro (c13dof_t *ctx, int16_t *gyro_x, int16_t *gyro_y, int16_t *gyro_z) |
Get BMI088 Gyro X-axis, Y-axis and Z-axis function. | |
void | c13dof_bmi088_accel_write_byte (c13dof_t *ctx, uint8_t reg_address, uint8_t write_data) |
Generic BMI088 Accel write data function. | |
void | c13dof_bmi088_accel_write_bytes (c13dof_t *ctx, uint8_t reg_address, uint8_t *write_data, uint8_t n_bytes) |
Generic sequential BMI088 Accel write data function. | |
uint8_t | c13dof_bmi088_accel_read_byte (c13dof_t *ctx, uint8_t reg_address) |
Generic BMI088 Accel read data function. | |
C13DOF_BMI088_RETVAL_T | c13dof_bmi088_accel_read_bytes (c13dof_t *ctx, uint8_t *data_out, uint8_t reg_address, uint8_t n_bytes) |
Generic BMI088 Accel sequential data read function. | |
uint8_t | c13dof_bmi088_get_accel_id (c13dof_t *ctx) |
Get BMI088 Accel ID function. | |
uint8_t | c13dof_bmi088_check_accel_data_ready (c13dof_t *ctx) |
Get BMI088 Accel error function. | |
void | c13dof_bmi088_set_accel_config (c13dof_t *ctx, uint8_t accel_config) |
Set BMI088 Accel configuration function. | |
C13DOF_BMI088_RETVAL_T | c13dof_bmi088_set_accel_range (c13dof_t *ctx, uint8_t accel_range) |
Set BMI088 Accel range function. | |
void | c13dof_bmi088_soft_reset_accel (c13dof_t *ctx) |
Set BMI088 Accel soft reset function. | |
void | c13dof_bmi088_set_accel_mode (c13dof_t *ctx, uint8_t active_mode) |
Set BMI088 Accel mode function. | |
C13DOF_BMI088_RETVAL_T | c13dof_bmi088_enable_accel (c13dof_t *ctx) |
Enable BMI088 Accel function. | |
C13DOF_BMI088_RETVAL_T | c13dof_bmi088_disable_accel (c13dof_t *ctx) |
Disable BMI088 Accel function. | |
int16_t | c13dof_bmi088_get_accel_axis (c13dof_t *ctx, uint8_t adr_reg_LSB, uint8_t adr_reg_MSB) |
Get BMI088 Accel axis data function. | |
void | c13dof_bmi088_read_accel (c13dof_t *ctx, int16_t *accel_x, int16_t *accel_y, int16_t *accel_z) |
Get BMI088 Accel X-axis, Y-axis and Z-axis function. | |
void | c13dof_bmi088_default_config (c13dof_t *ctx) |
Set BMI088 Accel & Gyro default configuration fuction. | |
This file contains API for 13DOF Click driver.