boost11  2.1.0.0
Data Structures | Macros | Enumerations | Functions
boost11.h File Reference

This file contains API for Boost 11 Click Driver. More...

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

Go to the source code of this file.

Data Structures

struct  boost11_t
 Boost 11 Click context object. More...
 
struct  boost11_cfg_t
 Boost 11 Click configuration object. More...
 

Macros

#define BOOST11_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping. More...
 

Enumerations

enum  boost11_return_value_t { BOOST11_OK = 0, BOOST11_ERROR = -1 }
 Boost 11 Click return value data. More...
 

Functions

void boost11_cfg_setup (boost11_cfg_t *cfg)
 Boost 11 configuration object setup function. More...
 
err_t boost11_init (boost11_t *ctx, boost11_cfg_t *cfg)
 Boost 11 initialization function. More...
 
void boost11_active_mode (boost11_t *ctx)
 Boost 11 enable function. More...
 
void boost11_standby_mode (boost11_t *ctx)
 Boost 11 disable function. More...
 
err_t boost11_read_an_pin_value (boost11_t *ctx, uint16_t *data_out)
 Boost 11 read AN pin value function. More...
 
err_t boost11_read_an_pin_voltage (boost11_t *ctx, float *data_out)
 Boost 11 read AN pin voltage level function. More...
 
err_t boost11_set_vref (boost11_t *ctx, float vref)
 Boost 11 set vref function. More...
 

Detailed Description

This file contains API for Boost 11 Click Driver.

Enumeration Type Documentation

◆ boost11_return_value_t

Boost 11 Click return value data.

Predefined enum values for driver return values.

Enumerator
BOOST11_OK 
BOOST11_ERROR