39#ifdef PREINIT_SUPPORTED
43#ifdef MikroCCoreVersion
44 #if MikroCCoreVersion >= 1
49#include "drv_digital_out.h"
50#include "drv_digital_in.h"
72 #define BUCK10_DEVICE_ENABLE 0x01
73 #define BUCK10_DEVICE_DISABLE 0x00
91#define BUCK10_MAP_MIKROBUS( cfg, mikrobus ) \
92 cfg.en = MIKROBUS( mikrobus, MIKROBUS_PWM )
buck10_return_value_t
Buck 10 Click return value data.
Definition buck10.h:126
@ BUCK10_OK
Definition buck10.h:127
@ BUCK10_ERROR
Definition buck10.h:128
void buck10_set_device_mode(buck10_t *ctx, uint8_t mode)
Function for enable or disable device.
void buck10_cfg_setup(buck10_cfg_t *cfg)
Buck 10 configuration object setup function.
err_t buck10_init(buck10_t *ctx, buck10_cfg_t *cfg)
Buck 10 initialization function.
Buck 10 Click configuration object.
Definition buck10.h:114
pin_name_t en
Definition buck10.h:117
Buck 10 Click context object.
Definition buck10.h:102
digital_out_t en
Definition buck10.h:105