buckboost 2.0.0.0
buckboost.h File Reference

This file contains API for Buck-Boost Click driver. More...

#include "drv_digital_out.h"
#include "drv_digital_in.h"

Go to the source code of this file.

Data Structures

struct  buckboost_t
 Click ctx object definition. More...
 
struct  buckboost_cfg_t
 Click configuration structure definition. More...
 

Macros

#define BUCKBOOST_MAP_MIKROBUS(cfg, mikrobus)
 
#define BUCKBOOST_RETVAL   uint8_t
 
#define BUCKBOOST_OK   0x00
 
#define BUCKBOOST_INIT_ERROR   0xFF
 

Functions

void buckboost_cfg_setup (buckboost_cfg_t *cfg)
 Config Object Initialization function.
 
BUCKBOOST_RETVAL buckboost_init (buckboost_t *ctx, buckboost_cfg_t *cfg)
 Initialization function.
 
void buckboost_default_cfg (buckboost_t *ctx)
 Click Default Configuration function.
 
void buckboost_enable (buckboost_t *ctx)
 Enable the converter function.
 
void buckboost_disable (buckboost_t *ctx)
 Disable the converter function.
 
void buckboost_set_mode_fixed_freq (buckboost_t *ctx)
 Set fixed frequency PWM operation function.
 
void buckboost_enables_auto_burst_mode (buckboost_t *ctx)
 Enables automatic burst mode operation.
 
void buckboost_set_2500mv (buckboost_t *ctx)
 Set the output voltage of 2500 mV function.
 
void buckboost_set_3300mv (buckboost_t *ctx)
 Set the output voltage of 3000 mV function.
 
void buckboost_set_4100mv (buckboost_t *ctx)
 Set the output voltage of 4100 mV function.
 
void buckboost_set_5000mv (buckboost_t *ctx)
 Set the output voltage of 5000 mV function.
 
void buckboost_set_6900mv (buckboost_t *ctx)
 Set the output voltage of 6900 mV function.
 
void buckboost_set_8200mv (buckboost_t *ctx)
 Set the output voltage of 8200 mV function.
 
void buckboost_set_12000mv (buckboost_t *ctx)
 Set the output voltage of 12000 mV function.
 
void buckboost_set_15000mv (buckboost_t *ctx)
 Set the output voltage of 15000 mV function.
 

Detailed Description

This file contains API for Buck-Boost Click driver.