c13dof 2.0.0.0
|
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. | |
C13DOF_BME680_RETVAL_T c13dof_bme680_check_id | ( | c13dof_t * | ctx | ) |
Check BME680 device ID function.
ctx | Click object. |
@description Function check device ID by read ID value from the sensor ID register address of BME680 sensor on 13DOF Click board.
float c13dof_bme680_get_ambient_data | ( | c13dof_t * | ctx, |
uint8_t | data_in ) |
Get BME680 ambient data function.
ctx | Click object. |
data_in | Data for reading:
|
@description Function get ambient data by sets device force mode and read data from the sensor temperature, pressure or humidity register address of BME680 sensor on 13DOF Click board.
void c13dof_bme680_get_calibration_data | ( | c13dof_t * | ctx | ) |
Get BME680 factory calibration parameters function.
ctx | Click object. |
Function read factory calibration parameters value from the sensor calibration registers address of BME680 sensor on 13DOF Click board.
uint8_t c13dof_bme680_get_device_id | ( | c13dof_t * | ctx | ) |
Get BME680 device ID function.
ctx | Click object. |
@description Function read device ID from the sensor ID register address of BME680 sensor on 13DOF Click board.
uint32_t c13dof_bme680_get_gas_resistance | ( | c13dof_t * | ctx | ) |
Gets BME680 gas resistance data function.
ctx | Click object. |
@description Function get gas resistance value from the sensor gas resistance register address of BME680 sensor on 13DOF Click board.
float c13dof_bme680_get_humidity | ( | c13dof_t * | ctx | ) |
Gets BME680 humidity in percentage [ % ] function.
ctx | Click object. |
@description Function get humidity value in percentage [ % ] from the sensor humidity register address of BME680 sensor on 13DOF Click board.
float c13dof_bme680_get_pressure | ( | c13dof_t * | ctx | ) |
Gets BME680 pressure in degrees Celsius function.
ctx | Click object. |
@description Function get pressure value in [ mbar ] from the sensor pressure register address of BME680 sensor on 13DOF Click board.
float c13dof_bme680_get_temperature | ( | c13dof_t * | ctx | ) |
Gets BME680 temperature in degrees Celsius function.
ctx | Click object. |
@description Function get temperature value in degrees Celsius [ �C ] from the sensor temperature register address of BME680 sensor on 13DOF Click board.
uint8_t c13dof_bme680_read_byte | ( | c13dof_t * | ctx, |
uint8_t | reg_address ) |
Generic BME680 read byte of data function.
ctx | Click object. |
reg_address | 8-bit BME680 register address |
@description Function read the 8-bit of data from the target 8-bit register address of BME680 sensor on 13DOF Click board.
void c13dof_bme680_soft_reset | ( | c13dof_t * | ctx | ) |
Software BME680 reset function.
ctx | Click object. |
@description Function software reset by write value of 0xB6 to the sensor reset register address of BME680 sensor on 13DOF Click board.
void c13dof_bme680_write_byte | ( | c13dof_t * | ctx, |
uint8_t | reg_address, | ||
uint8_t | write_data ) |
Generic BME680 write the byte of data function.
ctx | Click object. |
reg_address | 8-bit BME680 register address |
write_data | Byte of data to write |
@description Function write the 8-bit of data to the target 8-bit register address of BME680 sensor on 13DOF Click board.
uint8_t c13dof_bmi088_accel_read_byte | ( | c13dof_t * | ctx, |
uint8_t | reg_address ) |
Generic BMI088 Accel read data function.
ctx | Click object. |
reg_address | 8-bit BMI088 Accel register address |
@description Function read the 8-bit of data from the target 8-bit register address of BMI088 Accel sensor on 13DOF Click board.
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.
ctx | Click object. |
data_out | pointer to memory location where dataOut data be stored |
reg_address | 8-bit BMI088 Gyro register address |
n_bytes | number of bytes to be written |
Function read a sequential data starting from the targeted 8-bit register address of BMI088 Accel sensor on 13DOF Click board.
void c13dof_bmi088_accel_write_byte | ( | c13dof_t * | ctx, |
uint8_t | reg_address, | ||
uint8_t | write_data ) |
Generic BMI088 Accel write data function.
ctx | Click object. |
reg_address | 8-bit BMI088 Gyro register address |
write_data | Byte of data to write |
@description Function write the 8-bit of data to the target 8-bit register address of BMI088 Accel sensor on 13DOF Click board.
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.
ctx | Click object. |
reg_address | 8-bit BMI088 Accel register address |
write_data | pointer to memory location where writeData data be stored |
n_bytes | number of bytes to be written |
@description Function writes a sequential data starting from the targeted 8-bit register address of BMI088 Accel sensor on 13DOF Click board.
uint8_t c13dof_bmi088_check_accel_data_ready | ( | c13dof_t * | ctx | ) |
Get BMI088 Accel error function.
ctx | Click object. |
@description Function read the 8-bit of data from the target _C13DOF_BMI088_ACCEL_ERR_REG register address of BMI088 Accel sensor on 13DOF Click board.
Get BMI088 check Accel data ready function
ctx | Click object. |
@description Function read the 8-bit of data from the target _C13DOF_BMI088_ACCEL_STATUS_REG register address of BMI088 Accel sensor on 13DOF Click board.
void c13dof_bmi088_default_config | ( | c13dof_t * | ctx | ) |
Set BMI088 Accel & Gyro default configuration fuction.
ctx | Click object. |
@description Function Set BMI088 Accel & Gyro default configuration of BMI088 Accel sensor on 13DOF Click board.
C13DOF_BMI088_RETVAL_T c13dof_bmi088_disable_accel | ( | c13dof_t * | ctx | ) |
Disable BMI088 Accel function.
ctx | Click object. |
@description Function disable BMI088 Accel by write 0x00 data to the targeted _C13DOF_BMI088_ACCEL_PWR_CTRL_REG register address of BMI088 Accel sensor on 13DOF Click board.
C13DOF_BMI088_RETVAL_T c13dof_bmi088_enable_accel | ( | c13dof_t * | ctx | ) |
Enable BMI088 Accel function.
ctx | Click object. |
@description Function enable BMI088 Accel by write 0x04 data to the targeted _C13DOF_BMI088_ACCEL_PWR_CTRL_REG register address of BMI088 Accel sensor on 13DOF Click board.
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.
ctx | Click object. |
adr_reg_LSB | least significant bit register address |
adr_reg_MSB | most significant bit register address |
@description Function get axis data by read two target register address of BMI088 Accel sensor on 13DOF Click board.
uint8_t c13dof_bmi088_get_accel_id | ( | c13dof_t * | ctx | ) |
Get BMI088 Accel ID function.
ctx | Click object. |
@description Function read the 8-bit of data from the target _C13DOF_BMI088_ACCEL_CHIP_ID_REG register address of BMI088 Accel sensor on 13DOF Click board.
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.
ctx | Click object. |
adr_reg_LSB | least significant bit register address |
adr_reg_MSB | most significant bit register address |
@description Function get axis data by read two target register address of BMI088 Gyro sensor on 13DOF Click board.
uint8_t c13dof_bmi088_get_gyro_id | ( | c13dof_t * | ctx | ) |
Get BMI088 Gyro ID function.
ctx | Click object. |
@description Function read the 8-bit of data from the target _C13DOF_BMI088_GYRO_CHIP_ID_REG register address of BMI088 Gyro sensor on 13DOF Click board.
uint8_t c13dof_bmi088_gyro_read_byte | ( | c13dof_t * | ctx, |
uint8_t | reg_address ) |
Generic BMI088 Gyro read data function.
ctx | Click object. |
reg_address | 8-bit BMI088 Gyro register address |
@description Function read the 8-bit of data from the target 8-bit register address of BMI088 Gyro sensor on 13DOF Click board.
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.
ctx | Click object. |
data_out | pointer to memory location where dataOut data be stored |
reg_address | 8-bit BMI088 Gyro register address |
n_bytes | number of bytes to be written |
@description Function read a sequential data starting from the targeted 8-bit register address of BMI088 Gyro sensor on 13DOF Click board.
void c13dof_bmi088_gyro_write_byte | ( | c13dof_t * | ctx, |
uint8_t | reg_address, | ||
uint8_t | write_data ) |
Generic BMI088 Gyro write data function.
ctx | Click object. |
reg_address | 8-bit BMI088 Gyro register address |
write_data | Byte of data to write |
@description Function write the 8-bit of data to the target 8-bit register address of BMI088 Gyro sensor on 13DOF Click board.
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.
ctx | Click object. |
reg_address | 8-bit BMI088 Gyro register address |
write_data | pointer to memory location where writeData data be stored |
n_bytes | number of bytes to be written |
@description Function writes a sequential data starting from the targeted 8-bit register address of BMI088 Gyro sensor on 13DOF Click board.
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.
ctx | Click object. |
accel_x | pointer to memory location where Accel X-axis data be stored |
accel_y | pointer to memory location where Accel Y-axis data be stored |
accel_z | pointer to memory location where Accel Z-axis data be stored |
Function reads 16-bit X-axis, Y-axis data and Z-axis data from the targeted starts from _C13DOF_BMI088_ACCEL_X_LSB_REG to the _C13DOF_BMI088_ACCEL_Z_MSB_REG register address of BMM150 sensor on 13DOF Click board.
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.
ctx | Click object. |
gyro_x | pointer to memory location where Mag X-axis data be stored |
gyro_y | pointer to memory location where Mag Y-axis data be stored |
gyro_z | pointer to memory location where Mag Z-axis data be stored |
@description Function reads 16-bit X-axis, Y-axis data and Z-axis data from the targeted starts from _C13DOF_BMI088_GYRO_X_LSB_REG to the _C13DOF_BMI088_GYRO_Z_MSB_REG register address of BMM150 sensor on 13DOF Click board.
void c13dof_bmi088_set_accel_config | ( | c13dof_t * | ctx, |
uint8_t | accel_config ) |
Set BMI088 Accel configuration function.
ctx | Click object. |
@description Function set BMI088 Accel configurationread by write accelConfig value to the 8-bit of data from the _C13DOF_BMI088_ACCEL_CONF_REG register address of BMI088 Accel sensor on 13DOF Click board.
void c13dof_bmi088_set_accel_mode | ( | c13dof_t * | ctx, |
uint8_t | active_mode ) |
Set BMI088 Accel mode function.
ctx | Click object. |
Filter | setting:
|
@description Function set BMI088 Accel mode by write activeMode data to the targeted _C13DOF_BMI088_ACCEL_PWR_CONF_REG register address of BMI088 Accel sensor on 13DOF Click board.
C13DOF_BMI088_RETVAL_T c13dof_bmi088_set_accel_range | ( | c13dof_t * | ctx, |
uint8_t | accel_range ) |
Set BMI088 Accel range function.
ctx | Click object. |
@description Function set BMI088 Accel range by write accelRange value to the 8-bit of data from the _C13DOF_BMI088_ACCEL_RANGE_REG register address of BMI088 Accel sensor on 13DOF Click board.
C13DOF_BMI088_RETVAL_T c13dof_bmi088_set_gyro_bandwidth | ( | c13dof_t * | ctx, |
uint8_t | gyro_bandwidth ) |
Set BMI088 Gyro bandwidth function.
ctx | Click object. |
8-bit | gyro_bandwidth value: |
@description Function set BMI088 Gyro range by write gyroBandwidth data to the targeted _C13DOF_BMI088_GYRO_BANDWIDTH_REG register address of BMI088 Gyro sensor on 13DOF Click board.
C13DOF_BMI088_RETVAL_T c13dof_bmi088_set_gyro_range | ( | c13dof_t * | ctx, |
uint8_t | gyro_range ) |
Set BMI088 Gyro range function.
ctx | Click object. |
8-bit | gyro_range value: |
@description Function set BMI088 Gyro range by write gyroRange data to the targeted _C13DOF_BMI088_GYRO_RANGE_REG register address of BMI088 Gyro sensor on 13DOF Click board.
void c13dof_bmi088_soft_reset_accel | ( | c13dof_t * | ctx | ) |
Set BMI088 Accel soft reset function.
ctx | Click object. |
@description Function performs a BMI088 Accel software reset and after that puts device to normal operation mode of BMI088 Accel sensor on 13DOF Click board.
void c13dof_bmi088_soft_reset_giro | ( | c13dof_t * | ctx | ) |
Software BMI088 Gyro reset function.
ctx | Click object. |
@description Function performs a software reset and after that puts device to normal operation mode of BMI088 Gyro sensor on 13DOF Click board.
C13DOF_BMM150_RETVAL_T c13dof_bmm150_check_ready | ( | c13dof_t * | ctx | ) |
Check BMM150 data ready status function.
ctx | Click object. |
@description Function check data ready status by read from the targeted 8-bit register address of BMM150 sensor on 13DOF Click board.
void c13dof_bmm150_power_on_reset | ( | c13dof_t * | ctx | ) |
BMM150 power ON reset function.
ctx | Click object. |
@description Function performs a reset by putting device first to suspend mode and after that to sleep mode. When power on reset is performed, function puts device to normal operation mode of BMM150 sensor on 13DOF Click board.
uint8_t c13dof_bmm150_read_byte | ( | c13dof_t * | ctx, |
uint8_t | reg_address ) |
Generic BMM150 read byte of data function.
ctx | Click object. |
reg_address | 8-bit BMM150 register address |
@description Function read the 8-bit of data from the target 8-bit register address of BMM150 sensor on 13DOF Click board.
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.
ctx | Click object. |
data_out | pointer to memory location where dataOut data be stored |
reg_address | 8-bit BMM150 register address |
n_bytes | number of bytes to be written |
@description Function read a sequential data starting from the targeted 8-bit register address of BMM150 sensor on 13DOF Click board.
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.
ctx | Click object. |
mag_x | pointer to memory location where Mag X-axis data be stored |
mag_y | pointer to memory location where Mag Y-axis data be stored |
mag_z | pointer to memory location where Mag Z-axis data be stored |
res_hall | pointer to memory location where hall resistance data be stored |
@description Function reads 16-bit X-axis and Y-axis data, 15-bit Z-axis data and 14-bit hall resistance data from the targeted 8-bit register address of BMM150 sensor on 13DOF Click board.
void c13dof_bmm150_soft_reset | ( | c13dof_t * | ctx | ) |
Software BMM150 reset function.
ctx | Click object. |
@description Function performs a software reset and after that puts device to normal operation mode of BMM150 sensor on 13DOF Click board.
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.
ctx | Click object. |
reg_address | 8-bit BMM150 register address |
write_data | Byte of data to write |
Function write the 8-bit of data to the target 8-bit register address of BMM150 sensor on 13DOF Click board.
void c13dof_cfg_setup | ( | c13dof_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void c13dof_default_cfg | ( | c13dof_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
@description This function executes default configuration for c13DOF click.
C13DOF_RETVAL c13dof_init | ( | c13dof_t * | ctx, |
c13dof_cfg_t * | cfg ) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.