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 BUCK9_DEVICE_ENABLE 0x01
73 #define BUCK9_DEVICE_DISABLE 0x00
91#define BUCK9_MAP_MIKROBUS( cfg, mikrobus ) \
92 cfg.en = MIKROBUS( mikrobus, MIKROBUS_PWM )
buck9_return_value_t
Buck 9 Click return value data.
Definition buck9.h:126
@ BUCK9_OK
Definition buck9.h:127
@ BUCK9_ERROR
Definition buck9.h:128
void buck9_set_device_mode(buck9_t *ctx, uint8_t mode)
Function for enable or disable device.
err_t buck9_init(buck9_t *ctx, buck9_cfg_t *cfg)
Buck 9 initialization function.
void buck9_cfg_setup(buck9_cfg_t *cfg)
Buck 9 configuration object setup function.
Buck 9 Click configuration object.
Definition buck9.h:114
pin_name_t en
Definition buck9.h:117
Buck 9 Click context object.
Definition buck9.h:102
digital_out_t en
Definition buck9.h:105