mcp16331inv 2.0.0.0
|
This file contains API for MCP16331 INV 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 | mcp16331inv_t |
Click ctx object definition. More... | |
struct | mcp16331inv_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | mcp16331inv_cfg_setup (mcp16331inv_cfg_t *cfg) |
Config Object Initialization function. | |
MCP16331INV_RETVAL | mcp16331inv_init (mcp16331inv_t *ctx, mcp16331inv_cfg_t *cfg) |
Initialization function. | |
void | mcp16331inv_generic_transfer (mcp16331inv_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
Generic transfer function. | |
void | mcp16331inv_set_dac_vout (mcp16331inv_t *ctx, uint16_t dac_value, uint8_t gain_value, uint8_t mode) |
DAC output voltage set function. | |
void | mcp16331inv_enable_vin (mcp16331inv_t *ctx, uint8_t state) |
VIN Pull Up enable function. | |
This file contains API for MCP16331 INV Click driver.