39#ifdef PREINIT_SUPPORTED
43#ifdef MikroCCoreVersion
44 #if MikroCCoreVersion >= 1
49#include "drv_digital_out.h"
71#define AUDIOAMP12_MAP_MIKROBUS( cfg, mikrobus ) \
72 cfg.stb = MIKROBUS( mikrobus, MIKROBUS_RST ); \
73 cfg.gs = MIKROBUS( mikrobus, MIKROBUS_PWM )
audioamp12_return_value_t
AudioAMP 12 Click return value data.
Definition audioamp12.h:105
@ AUDIOAMP12_ERROR
Definition audioamp12.h:107
@ AUDIOAMP12_OK
Definition audioamp12.h:106
audioamp12_gain_select_t
AudioAMP 12 Click gain selection value data.
Definition audioamp12.h:116
@ AUDIOAMP12_GAIN_12_DB
Definition audioamp12.h:118
@ AUDIOAMP12_GAIN_6_DB
Definition audioamp12.h:117
void audioamp12_set_mode_operation(audioamp12_t *ctx)
AudioAMP 12 set operation mode function.
void audioamp12_set_mode_standby(audioamp12_t *ctx)
AudioAMP 12 set standby mode function.
void audioamp12_change_gain(audioamp12_t *ctx)
AudioAMP 12 changes the gain function.
void audioamp12_cfg_setup(audioamp12_cfg_t *cfg)
AudioAMP 12 configuration object setup function.
err_t audioamp12_init(audioamp12_t *ctx, audioamp12_cfg_t *cfg)
AudioAMP 12 initialization function.
void audioamp12_default_cfg(audioamp12_t *ctx)
AudioAMP 12 default configuration function.
void audioamp12_gain_select(audioamp12_t *ctx, audioamp12_gain_select_t sel_gain)
AudioAMP 12 select gain level function.
AudioAMP 12 Click configuration object.
Definition audioamp12.h:94
pin_name_t gs
Definition audioamp12.h:96
pin_name_t stb
Definition audioamp12.h:95
AudioAMP 12 Click context object.
Definition audioamp12.h:83
digital_out_t gs
Definition audioamp12.h:85
digital_out_t stb
Definition audioamp12.h:84