buck14 2.0.0.0
|
This file contains API for Buck 14 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 | buck14_t |
Click ctx object definition. More... | |
struct | buck14_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | buck14_cfg_setup (buck14_cfg_t *cfg) |
Config Object Initialization function. | |
BUCK14_RETVAL | buck14_init (buck14_t *ctx, buck14_cfg_t *cfg) |
Initialization function. | |
void | buck14_default_cfg (buck14_t *ctx) |
Click Default Configuration function. | |
void | buck14_generic_write (buck14_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | buck14_generic_read (buck14_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | buck14_power_ctrl (buck14_t *ctx, uint8_t state) |
Set power ctrl function. | |
void | buck14_power_sync (buck14_t *ctx, uint8_t state) |
Set power sync function. | |
uint8_t | buck14_power_good (buck14_t *ctx) |
Get power good function. | |
uint8_t | buck14_salert (buck14_t *ctx) |
Get alert function. | |
uint8_t | buck14_check_mfr_id (buck14_t *ctx) |
Fucntion for checking manufacturer id. | |
void | buck14_reset (buck14_t *ctx) |
Reset function. | |
uint16_t | buc14_read_vout (buck14_t *ctx) |
Read Vout function. | |
uint8_t | buc14_write_vout (buck14_t *ctx, float vout) |
Set Vout function. | |
This file contains API for Buck 14 Click driver.