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 MIC3_PIN_STATE_HIGH 0x01
73#define MIC3_PIN_STATE_LOW 0x00
91#define MIC3_MAP_MIKROBUS( cfg, mikrobus ) \
92 cfg.shd = MIKROBUS( mikrobus, MIKROBUS_CS )
err_t mic3_init(mic3_t *ctx, mic3_cfg_t *cfg)
MIC 3 initialization function.
err_t mic3_default_cfg(mic3_t *ctx)
MIC 3 default configuration function.
void mic3_shd_pin_set(mic3_t *ctx, uint8_t state)
MIC 3 SHD pin setting function.
void mic3_cfg_setup(mic3_cfg_t *cfg)
MIC 3 configuration object setup function.
mic3_return_value_t
MIC 3 Click return value data.
Definition mic3.h:123
@ MIC3_OK
Definition mic3.h:124
@ MIC3_ERROR
Definition mic3.h:125
MIC 3 Click configuration object.
Definition mic3.h:112
pin_name_t shd
Definition mic3.h:113
MIC 3 Click context object.
Definition mic3.h:102
digital_out_t shd
Definition mic3.h:103