digipot3 2.0.0.0
|
This file contains API for DIGI POT 3 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | digipot3_t |
Click ctx object definition. More... | |
struct | digipot3_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | digipot3_cfg_setup (digipot3_cfg_t *cfg) |
Config Object Initialization function. | |
DIGIPOT3_RETVAL | digipot3_init (digipot3_t *ctx, digipot3_cfg_t *cfg) |
Initialization function. | |
void | digipot2_generic_transfer (digipot3_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
Generic transfer function. | |
uint8_t | digipot3_send_command (digipot3_t *ctx, uint8_t command_byte) |
Command Send function. | |
uint8_t | digipot3_store_eemem (digipot3_t *ctx, uint8_t location_address, uint16_t transfer_data) |
EEMEM Store function. | |
uint8_t | digipot3_read_eemem (digipot3_t *ctx, uint8_t location_address, uint16_t *data_out) |
EEMEM Read function. | |
uint8_t | digipot3_write_dac (digipot3_t *ctx, uint16_t value_dac) |
DAC Write function. | |
void | digipot3_read_dac (digipot3_t *ctx, uint16_t *data_out) |
DAC Read function. | |
uint8_t | digipot3_check_data_ready (digipot3_t *ctx) |
Data Ready Check function. | |
This file contains API for DIGI POT 3 Click driver.