loadcell6 2.0.0.0
|
This file contains API for Load Cell 6 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | loadcell6_t |
Load Cell 6 Click context object. More... | |
struct | loadcell6_cfg_t |
Load Cell 6 Click configuration object. More... | |
struct | loadcell6_data_t |
Load Cell 6 Click load cell data object. More... | |
Enumerations | |
enum | loadcell6_return_value_t { LOADCELL6_OK = 0 , LOADCELL6_ERROR = -1 } |
Load Cell 6 Click return value data. More... | |
Functions | |
void | loadcell6_cfg_setup (loadcell6_cfg_t *cfg) |
Load Cell 6 configuration object setup function. | |
err_t | loadcell6_init (loadcell6_t *ctx, loadcell6_cfg_t *cfg) |
Load Cell 6 initialization function. | |
err_t | loadcell6_default_cfg (loadcell6_t *ctx) |
Load Cell 6 default configuration function. | |
err_t | loadcell6_generic_write (loadcell6_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
Load Cell 6 data writing function. | |
err_t | loadcell6_generic_read (loadcell6_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Load Cell 6 data reading function. | |
err_t | loadcell6_hw_reset (loadcell6_t *ctx) |
Load Cell 6 hw reset function. | |
uint8_t | loadcell6_sync (loadcell6_t *ctx) |
Load Cell 6 get sync function. | |
uint8_t | loadcell6_check_data_ready (loadcell6_t *ctx) |
Load Cell 6 check data ready function. | |
err_t | loadcell6_write_reg (loadcell6_t *ctx, uint8_t reg, uint8_t data_in) |
Load Cell 6 write reg function. | |
err_t | loadcell6_read_reg (loadcell6_t *ctx, uint8_t reg, uint8_t *data_out) |
Load Cell 6 read reg function. | |
err_t | loadcell6_write_reg_data (loadcell6_t *ctx, uint8_t reg, uint32_t data_in) |
Load Cell 6 read reg data function. | |
err_t | loadcell6_read_reg_data (loadcell6_t *ctx, uint8_t reg, uint32_t *data_out) |
Load Cell 6 read reg data function. | |
err_t | loadcell6_set_command (loadcell6_t *ctx, uint8_t cmd) |
Load Cell 6 set command function. | |
err_t | loadcell6_get_status (loadcell6_t *ctx, uint16_t *status) |
Load Cell 6 get status function. | |
err_t | loadcell6_read_adc (loadcell6_t *ctx, uint32_t *data_out) |
Load Cell 6 read ADC data function. | |
err_t | loadcell6_tare (loadcell6_t *ctx, loadcell6_data_t *cell_data) |
Load Cell 6 tare the scales function. | |
err_t | loadcell6_calibration (loadcell6_t *ctx, uint16_t cal_val, loadcell6_data_t *cell_data) |
Load Cell 6 calibration function. | |
err_t | loadcell6_get_weight (loadcell6_t *ctx, loadcell6_data_t *cell_data, float *weight_g) |
Load Cell 6 get weight function. | |
This file contains API for Load Cell 6 Click Driver.