buck19 2.1.0.0
|
This file contains API for Buck 19 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 | buck19_t |
Buck 19 Click context object. More... | |
struct | buck19_cfg_t |
Buck 19 Click configuration object. More... | |
Enumerations | |
enum | buck19_return_value_t { BUCK19_OK = 0 , BUCK19_ERROR = -1 } |
Buck 19 Click return value data. More... | |
Functions | |
void | buck19_cfg_setup (buck19_cfg_t *cfg) |
Buck 19 configuration object setup function. | |
err_t | buck19_init (buck19_t *ctx, buck19_cfg_t *cfg) |
Buck 19 initialization function. | |
err_t | buck19_default_cfg (buck19_t *ctx) |
Buck 19 default configuration function. | |
err_t | buck19_write_register (buck19_t *ctx, uint8_t reg, uint8_t data_in) |
Buck 19 write register function. | |
err_t | buck19_read_register (buck19_t *ctx, uint8_t reg, uint8_t *data_out) |
Buck 19 read register function. | |
void | buck19_enable_device (buck19_t *ctx) |
Buck 19 enable device function. | |
void | buck19_disable_device (buck19_t *ctx) |
Buck 19 disable device function. | |
uint8_t | buck19_get_pon_pin (buck19_t *ctx) |
Buck 19 get pon pin function. | |
uint8_t | buck19_get_int_pin (buck19_t *ctx) |
Buck 19 get int pin function. | |
err_t | buck19_set_vout (buck19_t *ctx, float vout) |
Buck 19 set vout function. | |
err_t | buck19_set_ilimit (buck19_t *ctx, uint16_t ilimit) |
Buck 19 set ilimit function. | |
This file contains API for Buck 19 Click Driver.