boostinv 2.0.0.0
|
This file contains API for Boost-INV 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 | boostinv_t |
Click ctx object definition. More... | |
struct | boostinv_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | boostinv_cfg_setup (boostinv_cfg_t *cfg) |
Config Object Initialization function. | |
BOOSTINV_RETVAL | boostinv_init (boostinv_t *ctx, boostinv_cfg_t *cfg) |
Initialization function. | |
void | boostinv_default_cfg (boostinv_t *ctx) |
Click Default Configuration function. | |
void | boostinv_generic_write (boostinv_t *ctx, uint8_t reg_addr, uint8_t tx_data) |
Functions for write one byte in register. | |
uint8_t | boostinv_generic_read (boostinv_t *ctx, uint8_t reg_addr) |
Generic read function. | |
void | boostinv_enable (boostinv_t *ctx) |
Functions for enable chip. | |
void | boostinv_set_positive_voltage (boostinv_t *ctx, uint16_t voltage) |
Functions for set positive output voltage. | |
void | boostinv_set_negative_voltage (boostinv_t *ctx, int16_t voltage) |
Functions for set negative output voltage. | |
This file contains API for Boost-INV Click driver.