current6 2.0.0.0
|
This file contains API for Current 6 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 | current6_t |
Current 6 Click context object. More... | |
struct | current6_cfg_t |
Current 6 Click configuration object. More... | |
Enumerations | |
enum | current6_return_value_t { CURRENT6_OK = 0 , CURRENT6_ERROR = -1 } |
Current 6 Click return value data. More... | |
Functions | |
void | current6_cfg_setup (current6_cfg_t *cfg) |
Current 6 configuration object setup function. | |
err_t | current6_init (current6_t *ctx, current6_cfg_t *cfg) |
Current 6 initialization function. | |
err_t | current6_default_cfg (current6_t *ctx) |
Current 6 default configuration function. | |
err_t | current6_write_byte (current6_t *ctx, uint8_t reg, uint8_t data_in) |
Current 6 write byte function. | |
err_t | current6_read_byte (current6_t *ctx, uint8_t reg, uint8_t *data_out) |
Current 6 read byte function. | |
err_t | current6_write_word (current6_t *ctx, uint8_t reg, uint16_t data_in) |
Current 6 write word function. | |
err_t | current6_read_word (current6_t *ctx, uint8_t reg, uint16_t *data_out) |
Current 6 read word function. | |
err_t | current6_read_32 (current6_t *ctx, uint32_t *data_out) |
Current 6 read 32-bit function. | |
uint8_t | current6_get_alert_pin (current6_t *ctx) |
Current 6 get alert pin function. | |
err_t | current6_read_data (current6_t *ctx, float *voltage, float *current) |
Current 6 read data function. | |
err_t | current6_get_status (current6_t *ctx, uint16_t *status) |
Current 6 get status function. | |
err_t | current6_enable_pec (current6_t *ctx) |
PEC Enable function. | |
err_t | current6_disable_pec (current6_t *ctx) |
PEC Disable function. | |
void | current6_enable_device (current6_t *ctx) |
Current 6 enable device function. | |
void | current6_disable_device (current6_t *ctx) |
Current 6 disable device function. | |
This file contains API for Current 6 Click Driver.