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 BOOST6_MAP_MIKROBUS( cfg, mikrobus ) \
66 cfg.rst= MIKROBUS( mikrobus, MIKROBUS_RST ); \
67 cfg.cs= MIKROBUS( mikrobus, MIKROBUS_CS ); \
68 cfg.pwm= MIKROBUS( mikrobus, MIKROBUS_PWM ); \
75#define BOOST6_RETVAL uint8_t
78#define BOOST6_INIT_ERROR 0xFF
85#define BOOST6_DISABLE 0x00
86#define BOOST6_ENABLE 0x01
#define BOOST6_RETVAL
Definition boost6.h:75
void boost6_hw_reset(boost6_t *ctx)
Hardware reset function.
void boost6_power_off(boost6_t *ctx)
Power OFF function.
void boost6_power_on(boost6_t *ctx)
Power ON function.
void boost6_cfg_setup(boost6_cfg_t *cfg)
Config Object Initialization function.
BOOST6_RETVAL boost6_init(boost6_t *ctx, boost6_cfg_t *cfg)
Initialization function.
Click configuration structure definition.
Definition boost6.h:113
pin_name_t pwm
Definition boost6.h:118
pin_name_t rst
Definition boost6.h:116
pin_name_t cs
Definition boost6.h:117
Click ctx object definition.
Definition boost6.h:100
digital_out_t cs
Definition boost6.h:104
digital_out_t pwm
Definition boost6.h:105
digital_out_t rst
Definition boost6.h:103