loadcell5 2.0.0.0
|
This file contains API for Load Cell 5 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 | loadcell5_t |
Load Cell 5 Click context object. More... | |
struct | loadcell5_cfg_t |
Load Cell 5 Click configuration object. More... | |
struct | loadcell5_data_t |
Load Cell 5 Click data structure definition. More... | |
Enumerations | |
enum | loadcell5_return_value_t { LOADCELL5_OK = 0 , LOADCELL5_ERROR = -1 } |
Load Cell 5 Click return value data. More... | |
Functions | |
void | loadcell5_cfg_setup (loadcell5_cfg_t *cfg) |
Load Cell 5 configuration object setup function. | |
err_t | loadcell5_init (loadcell5_t *ctx, loadcell5_cfg_t *cfg) |
Load Cell 5 initialization function. | |
err_t | loadcell5_default_cfg (loadcell5_t *ctx) |
Load Cell 5 default configuration function. | |
err_t | loadcell5_set_power_mode (loadcell5_t *ctx, uint8_t pwr_mode) |
Load Cell 5 set power mode function. | |
void | loadcell5_hw_reset (loadcell5_t *ctx) |
Load Cell 5 set hardware reset function. | |
err_t | loadcell5_filter_select (loadcell5_t *ctx, uint8_t fil_sel) |
Load Cell 5 filter select function. | |
err_t | loadcell5_set_gain (loadcell5_t *ctx, uint8_t gain) |
Load Cell 5 set gain function. | |
err_t | loadcell5_get_data (loadcell5_t *ctx, uint8_t *status, uint32_t *adc_data) |
Load Cell 5 data reading function. | |
uint32_t | loadcell5_read_adc (loadcell5_t *ctx) |
Load Cell 5 reading ADC data function. | |
void | loadcell5_tare (loadcell5_t *ctx, loadcell5_data_t *cell_data) |
Load Cell 5 tare the scales function. | |
err_t | loadcell5_calibration (loadcell5_t *ctx, uint16_t cal_val, loadcell5_data_t *cell_data) |
Load Cell 5 calibration function. | |
float | loadcell5_get_weight (loadcell5_t *ctx, loadcell5_data_t *cell_data) |
Load Cell 5 get weight function. | |
uint8_t | loadcell5_check_data_ready (loadcell5_t *ctx) |
Load Cell 5 get error function. | |
This file contains API for Load Cell 5 Click Driver.