loadcell3 2.0.0.0
|
This file contains API for Load Cell 3 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 | loadcell3_t |
Load Cell 3 Click context object. More... | |
struct | loadcell3_cfg_t |
Load Cell 3 Click configuration object. More... | |
struct | loadcell3_data_t |
Load Cell 3 Click data structure definition. More... | |
Enumerations | |
enum | loadcell3_return_value_t { LOADCELL3_OK = 0 , LOADCELL3_ERROR = -1 } |
Load Cell 3 Click return value data. More... | |
Functions | |
void | loadcell3_cfg_setup (loadcell3_cfg_t *cfg) |
Load Cell 3 configuration object setup function. | |
err_t | loadcell3_init (loadcell3_t *ctx, loadcell3_cfg_t *cfg) |
Load Cell 3 initialization function. | |
err_t | loadcell3_default_cfg (loadcell3_t *ctx) |
Load Cell 3 default configuration function. | |
err_t | loadcell3_generic_write (loadcell3_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Load Cell 3 I2C writing function. | |
err_t | loadcell3_generic_read (loadcell3_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Load Cell 3 I2C reading function. | |
err_t | loadcell3_generic_eeprom_write (loadcell3_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Load Cell 3 EEPROM I2C writing function. | |
err_t | loadcell3_generic_eeprom_read (loadcell3_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Load Cell 3 I2C EEPROM reading function. | |
err_t | loadcell3_generic_test_page_write (loadcell3_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Load Cell 3 test I2C writing function. | |
err_t | loadcell3_generic_test_page_read (loadcell3_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Load Cell 3 Control and Status I2C EEPROM reading function. | |
err_t | loadcell3_set_memory_page_slave_addr (loadcell3_t *ctx, uint8_t memory_page) |
Load Cell 3 set memory page function. | |
err_t | loadcell3_accesses_controller (loadcell3_t *ctx) |
Load Cell 3 accesses controller function. | |
err_t | loadcell3_accesses_digital_interface_control (loadcell3_t *ctx) |
Load Cell 3 accesses digital interface control function. | |
err_t | loadcell3_soft_reset (loadcell3_t *ctx) |
Load Cell 3 soft reset function. | |
err_t | loadcell3_set_p_gain (loadcell3_t *ctx, uint8_t p_gain) |
Load Cell 3 set pressure gain function. | |
err_t | loadcell3_set_t_gain (loadcell3_t *ctx, uint8_t t_gain) |
Load Cell 3 set temperature gain function. | |
err_t | loadcell3_set_temp_mode (loadcell3_t *ctx, uint8_t t_mode) |
Load Cell 3 set temperature mode function. | |
err_t | loadcell3_set_t_mux_ctrl (loadcell3_t *ctx, uint8_t t_mux_ctrl) |
Load Cell 3 set mux control function. | |
err_t | loadcell3_itemp_ctrl (loadcell3_t *ctx, uint8_t itemp_ctrl) |
Load Cell 3 set ITEMP control function. | |
err_t | loadcell3_set_offset (loadcell3_t *ctx, uint8_t offset_cancel_val, uint8_t offset_cancel_sel) |
Load Cell 3 set offset function. | |
int16_t | loadcell3_get_p_adc_data (loadcell3_t *ctx) |
Load Cell 3 get pressure ADC data function. | |
int16_t | loadcell3_get_t_adc_data (loadcell3_t *ctx) |
Load Cell 3 get temperature ADC data function. | |
void | loadcell3_tare (loadcell3_t *ctx, loadcell3_data_t *cell_data) |
Load Cell 3 tare the scales function. | |
err_t | loadcell3_calibration (loadcell3_t *ctx, uint16_t cal_val, loadcell3_data_t *cell_data) |
Load Cell 3 calibration function. | |
float | loadcell3_get_weight (loadcell3_t *ctx, loadcell3_data_t *cell_data) |
Load Cell 3 get weight function. | |
This file contains API for Load Cell 3 Click Driver.