buck23 2.1.0.0
|
This file contains API for Buck 23 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 | buck23_t |
Buck 23 Click context object. More... | |
struct | buck23_cfg_t |
Buck 23 Click configuration object. More... | |
Enumerations | |
enum | buck23_return_value_t { BUCK23_OK = 0 , BUCK23_ERROR = -1 } |
Buck 23 Click return value data. More... | |
Functions | |
void | buck23_cfg_setup (buck23_cfg_t *cfg) |
Buck 23 configuration object setup function. | |
err_t | buck23_init (buck23_t *ctx, buck23_cfg_t *cfg) |
Buck 23 initialization function. | |
err_t | buck23_default_cfg (buck23_t *ctx) |
Buck 23 default configuration function. | |
err_t | buck23_write_register (buck23_t *ctx, uint8_t reg, uint8_t data_in) |
Buck 23 write register function. | |
err_t | buck23_read_register (buck23_t *ctx, uint8_t reg, uint8_t *data_out) |
Buck 23 read register function. | |
void | buck23_enable_device (buck23_t *ctx) |
Buck 23 enable device function. | |
void | buck23_disable_device (buck23_t *ctx) |
Buck 23 disable device function. | |
void | buck23_restart_device (buck23_t *ctx) |
Buck 23 restart device function. | |
void | buck23_set_sync_pin (buck23_t *ctx, uint8_t state) |
Buck 23 set sync pin function. | |
uint8_t | buck23_get_pg_pin (buck23_t *ctx) |
Buck 23 get pg pin function. | |
err_t | buck23_check_communication (buck23_t *ctx) |
Buck 23 check communication function. | |
err_t | buck23_set_vstep (buck23_t *ctx, uint8_t vstep) |
Buck 23 set vstep function. | |
err_t | buck23_set_vout (buck23_t *ctx, uint16_t vout_mv) |
Buck 23 set vout function. | |
This file contains API for Buck 23 Click Driver.