digipot14 2.1.0.0
|
This file contains API for DIGI POT 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 | digipot14_t |
DIGI POT 14 Click context object. More... | |
struct | digipot14_cfg_t |
DIGI POT 14 Click configuration object. More... | |
Enumerations | |
enum | digipot14_return_value_t { DIGIPOT14_OK = 0 , DIGIPOT14_ERROR = -1 } |
DIGI POT 14 Click return value data. More... | |
Functions | |
void | digipot14_cfg_setup (digipot14_cfg_t *cfg) |
DIGI POT 14 configuration object setup function. | |
err_t | digipot14_init (digipot14_t *ctx, digipot14_cfg_t *cfg) |
DIGI POT 14 initialization function. | |
err_t | digipot14_default_cfg (digipot14_t *ctx) |
DIGI POT 14 default configuration function. | |
err_t | digipot14_generic_write (digipot14_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
DIGI POT 14 I2C writing function. | |
err_t | digipot14_generic_read (digipot14_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
DIGI POT 14 I2C reading function. | |
err_t | digipot14_reg_write (digipot14_t *ctx, uint8_t reg, uint8_t data_in) |
DIGI POT 14 register write function. | |
err_t | digipot14_reg_read (digipot14_t *ctx, uint8_t reg, uint8_t *data_out) |
DIGI POT 14 register reading function. | |
err_t | digipot14_set_pot_a_wiper (digipot14_t *ctx, uint8_t wiper_pos) |
DIGI POT 14 set the wiper position of potentiometer A function. | |
err_t | digipot14_set_pot_b_wiper (digipot14_t *ctx, uint8_t wiper_pos) |
DIGI POT 14 set the wiper position of potentiometer B function. | |
This file contains API for DIGI POT 14 Click Driver.