buck6 2.0.0.0
|
This file contains API for BUCK 6 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 | buck6_t |
Click ctx object definition. More... | |
struct | buck6_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | buck6_cfg_setup (buck6_cfg_t *cfg) |
Config Object Initialization function. | |
BUCK6_RETVAL | buck6_init (buck6_t *ctx, buck6_cfg_t *cfg) |
Initialization function. | |
void | buck6_generic_write (buck6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | buck6_generic_read (buck6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | buck6_get_rst (buck6_t *ctx) |
void | buck6_set_mode (buck6_t *ctx, uint8_t mode) |
Set mode. | |
void | buck6_set_max_voltage (buck6_t *ctx, uint8_t voltage) |
Set maximum voltage. | |
This file contains API for BUCK 6 Click driver.