buckboost2  2.0.0.0
Data Structures | Macros | Functions
buckboost2.h File Reference

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

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

Go to the source code of this file.

Data Structures

struct  buckboost2_t
 Click ctx object definition. More...
 
struct  buckboost2_cfg_t
 Click configuration structure definition. More...
 

Macros

#define BUCKBOOST2_MAP_MIKROBUS(cfg, mikrobus)
 
#define BUCKBOOST2_RETVAL   uint8_t
 
#define BUCKBOOST2_OK   0x00
 
#define BUCKBOOST2_INIT_ERROR   0xFF
 
#define BUCKBOOST2_WITH_IMPROVEMENT   0x01
 
#define BUCKBOOST2_WITHOUT_IMPROVEMENT   0x00
 

Functions

void buckboost2_cfg_setup (buckboost2_cfg_t *cfg)
 Config Object Initialization function. More...
 
BUCKBOOST2_RETVAL buckboost2_init (buckboost2_t *ctx, buckboost2_cfg_t *cfg)
 Initialization function. More...
 
void buckboost2_power_on (buckboost2_t *ctx)
 Power on function. More...
 
void buckboost2_power_off (buckboost2_t *ctx)
 Power off function. More...
 
void buckboost2_set_mode (buckboost2_t *ctx, uint8_t mode)
 Mode setting functon. More...
 

Detailed Description

This file contains API for Buck Boost 2 Click driver.