boost8 2.1.0.0
boost8.h File Reference

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

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

Go to the source code of this file.

Data Structures

struct  boost8_t
 Boost 8 Click context object. More...
 
struct  boost8_cfg_t
 Boost 8 Click configuration object. More...
 

Macros

#define BOOST8_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping.
 

Enumerations

enum  boost8_return_value_t { BOOST8_OK = 0 , BOOST8_ERROR = -1 }
 Boost 8 Click return value data. More...
 

Functions

void boost8_cfg_setup (boost8_cfg_t *cfg)
 Boost 8 configuration object setup function.
 
err_t boost8_init (boost8_t *ctx, boost8_cfg_t *cfg)
 Boost 8 initialization function.
 
void boost8_default_cfg (boost8_t *ctx)
 Boost 8 default configuration function.
 
void boost8_enable_positive_voltage (boost8_t *ctx)
 Boost 8 enable positive voltage output function.
 
void boost8_disable_positive_voltage (boost8_t *ctx)
 Boost 8 disable positive voltage output function.
 
void boost8_enable_negative_voltage (boost8_t *ctx)
 Boost 8 enable negative voltage output function.
 
void boost8_disable_negative_voltage (boost8_t *ctx)
 Boost 8 disable negative voltage output function.
 
void boost8_enable_both_outputs (boost8_t *ctx)
 Boost 8 enable both voltage outputs function.
 
void boost8_disable_both_outputs (boost8_t *ctx)
 Boost 8 disable both voltage outputs function.
 

Detailed Description

This file contains API for Boost 8 Click Driver.

Enumeration Type Documentation

◆ boost8_return_value_t

Boost 8 Click return value data.

Predefined enum values for driver return values.

Enumerator
BOOST8_OK 
BOOST8_ERROR