boost2 2.0.0.0
boost2.h File Reference

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

Macros

#define BOOST2_MAP_MIKROBUS(cfg, mikrobus)
 
#define BOOST2_RETVAL   uint8_t
 
#define BOOST2_OK   0x00
 
#define BOOST2_INIT_ERROR   0xFF
 

Functions

void boost2_cfg_setup (boost2_cfg_t *cfg)
 Config Object Initialization function.
 
BOOST2_RETVAL boost2_init (boost2_t *ctx, boost2_cfg_t *cfg)
 Initialization function.
 
void boost2_set_en_pin (boost2_t *ctx, uint8_t new_state)
 Set enable pin.
 
uint8_t boost2_get_pg_pin (boost2_t *ctx)
 Get PG pin state.
 

Detailed Description

This file contains API for Boost 2 Click driver.