boost3 2.0.0.0
boost3.h File Reference

This file contains API for 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  boost3_t
 Click ctx object definition. More...
 
struct  boost3_cfg_t
 Click configuration structure definition. More...
 

Macros

#define BOOST3_MAP_MIKROBUS(cfg, mikrobus)    cfg.en= MIKROBUS( mikrobus, MIKROBUS_CS )
 
#define BOOST3_RETVAL   uint8_t
 
#define BOOST3_OK   0x00
 
#define BOOST3_INIT_ERROR   0xFF
 
#define BOOST3_ENABLE   0x01
 
#define BOOST3_DISABLE   0x00
 

Functions

void boost3_cfg_setup (boost3_cfg_t *cfg)
 Config Object Initialization function.
 
BOOST3_RETVAL boost3_init (boost3_t *ctx, boost3_cfg_t *cfg)
 Initialization function.
 
void boost3_dev_enable (boost3_t *ctx, uint8_t state)
 Device Enable function.
 

Detailed Description

This file contains API for Boost 3 Click driver.