boostinv3 2.1.0.0
|
This file contains API for Boost-INV 3 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 | boostinv3_t |
Boost-INV 3 Click context object. More... | |
struct | boostinv3_cfg_t |
Boost-INV 3 Click configuration object. More... | |
Enumerations | |
enum | boostinv3_return_value_t { BOOSTINV3_OK = 0 , BOOSTINV3_ERROR = -1 } |
Boost-INV 3 Click return value data. More... | |
Functions | |
void | boostinv3_cfg_setup (boostinv3_cfg_t *cfg) |
Boost-INV 3 configuration object setup function. | |
err_t | boostinv3_init (boostinv3_t *ctx, boostinv3_cfg_t *cfg) |
Boost-INV 3 initialization function. | |
err_t | boostinv3_default_cfg (boostinv3_t *ctx) |
Boost-INV 3 default configuration function. | |
err_t | boostinv3_generic_write (boostinv3_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
Boost-INV 3 I2C writing function. | |
err_t | boostinv3_generic_read (boostinv3_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Boost-INV 3 I2C reading function. | |
void | boostinv3_set_enp (boostinv3_t *ctx, uint8_t out_state) |
Boost-INV 3 set ENP pin state function. | |
void | boostinv3_set_enn (boostinv3_t *ctx, uint8_t out_state) |
Boost-INV 3 set ENN pin state function. | |
err_t | boostinv3_write_reg (boostinv3_t *ctx, uint8_t reg, uint8_t data_in) |
Boost-INV 3 register write function. | |
err_t | boostinv3_set_pos_out (boostinv3_t *ctx, uint8_t out_val) |
Boost-INV 3 set positive output voltage function. | |
err_t | boostinv3_set_neg_out (boostinv3_t *ctx, uint8_t out_val) |
Boost-INV 3 set negative output voltage function. | |
This file contains API for Boost-INV 3 Click Driver.