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 OPTO5_MAP_MIKROBUS( cfg, mikrobus ) \
73 cfg.pwm = MIKROBUS( mikrobus, MIKROBUS_PWM )
err_t opto5_init(opto5_t *ctx, opto5_cfg_t *cfg)
Opto 5 initialization function.
void opto5_cfg_setup(opto5_cfg_t *cfg)
Opto 5 configuration object setup function.
void opto5_pin_clear(opto5_t *ctx)
Opto 5 pin clearing function.
void opto5_pin_toggle(opto5_t *ctx)
Opto 5 pin toggling function.
void opto5_default_cfg(opto5_t *ctx)
Opto 5 default configuration function.
void opto5_pin_set(opto5_t *ctx)
Opto 5 pin setting function.
Opto 5 Click configuration object.
Definition opto5.h:93
pin_name_t pwm
Definition opto5.h:94
Opto 5 Click context object.
Definition opto5.h:83
digital_out_t pwm
Definition opto5.h:84