current14
2.1.0.0
|
This file contains API for Current 14 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 | current14_t |
Current 14 Click context object. More... | |
struct | current14_cfg_t |
Current 14 Click configuration object. More... | |
Enumerations | |
enum | current14_return_value_t { CURRENT14_OK = 0, CURRENT14_ERROR = -1 } |
Current 14 Click return value data. More... | |
Functions | |
void | current14_cfg_setup (current14_cfg_t *cfg) |
Current 14 configuration object setup function. More... | |
err_t | current14_init (current14_t *ctx, current14_cfg_t *cfg) |
Current 14 initialization function. More... | |
err_t | current14_default_cfg (current14_t *ctx) |
Current 14 default configuration function. More... | |
err_t | current14_write_reg_byte (current14_t *ctx, uint8_t reg, uint8_t data_in) |
Current 14 write reg byte function. More... | |
err_t | current14_write_reg_word (current14_t *ctx, uint8_t reg, uint16_t data_in) |
Current 14 write reg word function. More... | |
err_t | current14_read_reg_byte (current14_t *ctx, uint8_t reg, uint8_t *data_out) |
Current 14 read reg byte function. More... | |
uint8_t | current14_get_alert_pin (current14_t *ctx) |
Current 14 get alert pin function. More... | |
err_t | current14_set_odr (current14_t *ctx, uint8_t odr) |
Current 14 set odr function. More... | |
err_t | current14_read_data (current14_t *ctx, int16_t *data_out) |
Current 14 read data function. More... | |
err_t | current14_calib_offset (current14_t *ctx) |
Current 14 calib offset function. More... | |
err_t | current14_calib_resolution (current14_t *ctx, float calib_current) |
Current 14 calib resolution function. More... | |
err_t | current14_get_current (current14_t *ctx, float *current) |
Current 14 get current function. More... | |
This file contains API for Current 14 Click Driver.