42#ifdef PREINIT_SUPPORTED
46#ifdef MikroCCoreVersion
47 #if MikroCCoreVersion >= 1
52#include "drv_digital_out.h"
53#include "drv_digital_in.h"
65#define BUCKBOOST3_MAP_MIKROBUS( cfg, mikrobus ) \
66 cfg.en= MIKROBUS( mikrobus, MIKROBUS_CS ); \
67 cfg.uv= MIKROBUS( mikrobus, MIKROBUS_INT );
74#define BUCKBOOST3_RETVAL uint8_t
76#define BUCKBOOST3_OK 0x00
77#define BUCKBOOST3_INIT_ERROR 0xFF
84#define BUCKBOOST3_DEVICE_ENABLE 0x01
85#define BUCKBOOST3_DEVICE_DISABLE 0x00
#define BUCKBOOST3_RETVAL
Definition buckboost3.h:74
void buckboost3_enable(buckboost3_t *ctx, uint8_t state)
Function for enable/disable device.
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.
uint8_t buckboost3_get_interrupt_state(buckboost3_t *ctx)
Function for get Intterupt pin state.
Click configuration structure definition.
Definition buckboost3.h:114
pin_name_t uv
Definition buckboost3.h:119
pin_name_t en
Definition buckboost3.h:117
Click ctx object definition.
Definition buckboost3.h:99
digital_in_t uv
Definition buckboost3.h:106
digital_out_t en
Definition buckboost3.h:102