efuse2 2.0.0.0
|
This file contains API for eFuse 2 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 | efuse2_t |
eFuse 2 Click context object. More... | |
struct | efuse2_cfg_t |
eFuse 2 Click configuration object. More... | |
struct | ad5241_instru_t |
eFuse 2 Click instruction object. More... | |
Enumerations | |
enum | efuse2_return_value_t { EFUSE2_OK = 0 , EFUSE2_ERROR = -1 } |
eFuse 2 Click return value data. More... | |
Functions | |
void | efuse2_cfg_setup (efuse2_cfg_t *cfg) |
eFuse 2 configuration object setup function. | |
err_t | efuse2_init (efuse2_t *ctx, efuse2_cfg_t *cfg) |
eFuse 2 initialization function. | |
err_t | efuse2_default_cfg (efuse2_t *ctx) |
eFuse 2 default configuration function. | |
err_t | efuse2_write_ad5241 (efuse2_t *ctx, ad5241_instru_t cmd, uint8_t data_byte) |
Generic write data to the AD5241 function. | |
uint8_t | efuse2_read_ad5241 (efuse2_t *ctx) |
Generic read data from the AD5241 function. | |
void | efuse2_hw_reset (efuse2_t *ctx) |
Hardware reset function. | |
err_t | efuse2_set_operating_voltage (efuse2_t *ctx, float voltage, float *min_voltage, float *max_voltage) |
Set operating voltage function. | |
err_t | efuse2_write_ad5175 (efuse2_t *ctx, uint8_t cmd, uint16_t data_byte) |
Generic write data to the AD5175 function. | |
uint16_t | efuse2_read_ad5175 (efuse2_t *ctx, uint8_t cmd, uint8_t wiper_location) |
Generic read data from the AD5175 function. | |
uint16_t | efuse2_read_rdac (efuse2_t *ctx) |
Read RDAC function. | |
err_t | efuse2_enable_write (efuse2_t *ctx) |
Enable write function. | |
err_t | efuse2_write_rdac (efuse2_t *ctx, uint16_t data_byte) |
Write RDAC function. | |
err_t | efuse2_set_current_limit (efuse2_t *ctx, float current) |
Set operating current function. | |
err_t | efuse2_sw_reset (efuse2_t *ctx) |
Software reset function. | |
err_t | efuse2_store_wiper (efuse2_t *ctx) |
Store wiper setting function. | |
err_t | efuse2_operating_mode (efuse2_t *ctx, uint8_t mode) |
Set operating mode function. | |
uint16_t | efuse2_next_frame_read (efuse2_t *ctx, uint8_t wiper_location) |
Next frame read function. | |
uint16_t | efuse2_read_memory (efuse2_t *ctx) |
Read memory function. | |
uint8_t | efuse2_read_control (efuse2_t *ctx) |
Read control register function. | |
uint8_t | efuse2_get_fault (efuse2_t *ctx) |
Get fault function. | |
This file contains API for eFuse 2 Click Driver.