buckboost3 2.0.0.0
buckboost3.h File Reference

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

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

Go to the source code of this file.

Data Structures

struct  buckboost3_t
 Click ctx object definition. More...
 
struct  buckboost3_cfg_t
 Click configuration structure definition. More...
 

Macros

#define BUCKBOOST3_MAP_MIKROBUS(cfg, mikrobus)
 
#define BUCKBOOST3_RETVAL   uint8_t
 
#define BUCKBOOST3_OK   0x00
 
#define BUCKBOOST3_INIT_ERROR   0xFF
 
#define BUCKBOOST3_DEVICE_ENABLE   0x01
 
#define BUCKBOOST3_DEVICE_DISABLE   0x00
 

Functions

void buckboost3_cfg_setup (buckboost3_cfg_t *cfg)
 Config Object Initialization function.
 
BUCKBOOST3_RETVAL buckboost3_init (buckboost3_t *ctx, buckboost3_cfg_t *cfg)
 Initialization function.
 
void buckboost3_enable (buckboost3_t *ctx, uint8_t state)
 Function for enable/disable device.
 
uint8_t buckboost3_get_interrupt_state (buckboost3_t *ctx)
 Function for get Intterupt pin state.
 

Detailed Description

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