buck22 2.1.0.0
|
This file contains API for Buck 22 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 | buck22_t |
Buck 22 Click context object. More... | |
struct | buck22_cfg_t |
Buck 22 Click configuration object. More... | |
Enumerations | |
enum | buck22_return_value_t { BUCK22_OK = 0 , BUCK22_ERROR = -1 } |
Buck 22 Click return value data. More... | |
Functions | |
void | buck22_cfg_setup (buck22_cfg_t *cfg) |
Buck 22 configuration object setup function. | |
err_t | buck22_init (buck22_t *ctx, buck22_cfg_t *cfg) |
Buck 22 initialization function. | |
err_t | buck22_set_vout (buck22_t *ctx, uint16_t vout_mv) |
Buck 22 set vout function. | |
err_t | buck22_read_vout (buck22_t *ctx, uint16_t *vout_mv) |
Buck 22 read vout function. | |
err_t | buck22_set_control (buck22_t *ctx, uint8_t control) |
Buck 22 set control function. | |
err_t | buck22_read_status (buck22_t *ctx, uint8_t *status) |
Buck 22 read status function. | |
uint8_t | buck22_get_pg_pin (buck22_t *ctx) |
Buck 22 get pg pin function. | |
This file contains API for Buck 22 Click Driver.