bucknboost 2.0.0.0
|
This file contains API for Buck n Boost 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 | bucknboost_t |
Buck n Boost Click context object. More... | |
struct | bucknboost_cfg_t |
Buck n Boost Click configuration object. More... | |
struct | bucknboost_status_t |
Buck n Boost Click status data structure. More... | |
struct | bucknboost_cfg_buck_t |
Buck n Boost Click buck config data structure. More... | |
Enumerations | |
enum | bucknboost_return_value_t { BUCKNBOOST_OK = 0 , BUCKNBOOST_ERROR = -1 } |
Buck n Boost Click return value data. More... | |
Functions | |
void | bucknboost_cfg_setup (bucknboost_cfg_t *cfg) |
Buck n Boost configuration object setup function. | |
err_t | bucknboost_init (bucknboost_t *ctx, bucknboost_cfg_t *cfg) |
Buck n Boost initialization function. | |
err_t | bucknboost_default_cfg (bucknboost_t *ctx) |
Buck n Boost default configuration function. | |
err_t | bucknboost_generic_write (bucknboost_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Buck n Boost I2C writing function. | |
err_t | bucknboost_generic_read (bucknboost_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Buck n Boost I2C reading function. | |
err_t | bucknboost_send_cmd (bucknboost_t *ctx, uint8_t cmd) |
Buck n Boost send command function. | |
err_t | bucknboost_write_byte (bucknboost_t *ctx, uint8_t reg, uint8_t data_in) |
Buck n Boost Write single byte function. | |
err_t | bucknboost_read_byte (bucknboost_t *ctx, uint8_t reg, uint8_t *data_out) |
Buck n Boost read single byte function. | |
void | bucknboost_pin_standby_mode (bucknboost_t *ctx, uint8_t state) |
Buck n Boost set STB pin mode function. | |
err_t | bucknboost_reg_standby_mode (bucknboost_t *ctx, uint8_t state) |
Buck n Boost set standby mode function. | |
void | bucknboost_device_enable (bucknboost_t *ctx, uint8_t state) |
Buck n Boost enable device function. | |
uint8_t | bucknboost_check_power_good (bucknboost_t *ctx) |
Buck n Boost check power good function. | |
uint8_t | bucknboost_check_por (bucknboost_t *ctx) |
Buck n Boost check power on reset function. | |
err_t | bucknboost_read_oc_fault (bucknboost_t *ctx, uint8_t *data_out) |
Buck n Boost read overcurrent fault function. | |
err_t | bucknboost_set_buck_out_voltage (bucknboost_t *ctx, uint8_t ch_num, uint8_t data_in) |
Buck n Boost set buck output voltage function. | |
err_t | bucknboost_set_all_buck_out_voltage (bucknboost_t *ctx, uint8_t data_in) |
Buck n Boost set all bucks output voltage function. | |
err_t | bucknboost_set_boost_out_voltage (bucknboost_t *ctx, uint8_t data_in) |
Buck n Boost set boost output voltage function. | |
err_t | bucknboost_get_status (bucknboost_t *ctx, bucknboost_status_t *st_data) |
Buck n Boost get status data function. | |
err_t | bucknboost_update_cfg_out (bucknboost_t *ctx, uint8_t ch_num, bucknboost_cfg_buck_t b_data) |
Buck n Boost update configuration of the output registers function. | |
err_t | bucknboost_get_power_good_status (bucknboost_t *ctx, uint8_t *data_out) |
Buck n Boost get power good status function. | |
err_t | bucknboost_check_power_good_status (bucknboost_t *ctx, uint8_t ch_num, uint8_t *data_out) |
Buck n Boost check power good status function. | |
err_t | bucknboost_get_eeprom_status (bucknboost_t *ctx, uint8_t *data_out) |
Buck n Boost get eeprom status function. | |
err_t | bucknboost_get_overcurrent_fault_status (bucknboost_t *ctx, uint8_t *data_out) |
Buck n Boost get overcurrent fault status function. | |
err_t | bucknboost_check_overc_fault_status (bucknboost_t *ctx, uint8_t ch_num, uint8_t *data_out) |
Buck n Boost check overcurrent fault status function. | |
This file contains API for Buck n Boost Click Driver.