mic 2.0.0.0
Public function

Functions

void mic_cfg_setup (mic_cfg_t *cfg)
 Config Object Initialization function.
 
MIC_RETVAL mic_init (mic_t *ctx, mic_cfg_t *cfg)
 Initialization function.
 
void mic_default_cfg (mic_t *ctx)
 Click Default Configuration function.
 
mic_data_t mic_generic_read (mic_t *ctx)
 Generic read function.
 

Detailed Description

Function Documentation

◆ mic_cfg_setup()

void mic_cfg_setup ( mic_cfg_t * cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

@description This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ mic_default_cfg()

void mic_default_cfg ( mic_t * ctx)

Click Default Configuration function.

Parameters
ctxClick object.

@description This function executes default configuration for Mic click.

◆ mic_generic_read()

mic_data_t mic_generic_read ( mic_t * ctx)

Generic read function.

Parameters
ctxClick object.
Returns
ADC data

@description This function read ADC data.

◆ mic_init()

MIC_RETVAL mic_init ( mic_t * ctx,
mic_cfg_t * cfg )

Initialization function.

Parameters
ctxClick object.
cfgClick configuration structure.

@description This function initializes all necessary pins and peripherals used for this click.