smartbuck4 2.1.0.0
|
This file contains API for Smart Buck 4 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 | smartbuck4_t |
Smart Buck 4 Click context object. More... | |
struct | smartbuck4_cfg_t |
Smart Buck 4 Click configuration object. More... | |
Enumerations | |
enum | smartbuck4_return_value_t { SMARTBUCK4_OK = 0 , SMARTBUCK4_ERROR = -1 } |
Smart Buck 4 Click return value data. More... | |
Functions | |
void | smartbuck4_cfg_setup (smartbuck4_cfg_t *cfg) |
Smart Buck 4 configuration object setup function. | |
err_t | smartbuck4_init (smartbuck4_t *ctx, smartbuck4_cfg_t *cfg) |
Smart Buck 4 initialization function. | |
err_t | smartbuck4_default_cfg (smartbuck4_t *ctx) |
Smart Buck 4 default configuration function. | |
void | smartbuck4_set_r40_out (smartbuck4_t *ctx, uint8_t out_level) |
Smart Buck 4 set R40 pin state function. | |
void | smartbuck4_en_r40_reg (smartbuck4_t *ctx) |
Smart Buck 4 enable 400A regulator function. | |
void | smartbuck4_dis_r40_reg (smartbuck4_t *ctx) |
Smart Buck 4 disable 400A regulator function. | |
void | smartbuck4_set_r60_out (smartbuck4_t *ctx, uint8_t out_level) |
Smart Buck 4 set R60 pin state function. | |
void | smartbuck4_en_r60_reg (smartbuck4_t *ctx) |
Smart Buck 4 enable 600A regulator function. | |
void | smartbuck4_dis_r60_reg (smartbuck4_t *ctx) |
Smart Buck 4 disable 600A regulator function. | |
err_t | smartbuck4_send_command (smartbuck4_t *ctx, uint8_t addr, uint8_t data_in) |
Smart Buck 4 send command function. | |
err_t | smartbuck4_disable_regulators (smartbuck4_t *ctx) |
Smart Buck 4 disable regulators function. | |
This file contains API for Smart Buck 4 Click Driver.