audioamp4 2.0.0.0
|
Functions | |
void | audioamp4_cfg_setup (audioamp4_cfg_t *cfg) |
Config Object Initialization function. | |
AUDIOAMP4_RETVAL | audioamp4_init (audioamp4_t *ctx, audioamp4_cfg_t *cfg) |
Initialization function. | |
void | audioamp4_default_cfg (audioamp4_t *ctx) |
Click Default Configuration function. | |
AUDIOAMP4_RETVAL | audioamp4_set_channel (audioamp4_t *ctx, uint8_t channel) |
Set channel function function. | |
AUDIOAMP4_RETVAL | audioamp4_shutdown (audioamp4_t *ctx, uint8_t state) |
Set channel function function. | |
void audioamp4_cfg_setup | ( | audioamp4_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void audioamp4_default_cfg | ( | audioamp4_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
@description This function executes default configuration for AudioAmp 4 click.
Device State : OFF - AUDIOAMP4_SHUTDOWN_OFF Set Channel : Channel 0 - AUDIOAMP4_VOLUME_CHANN_0
AUDIOAMP4_RETVAL audioamp4_init | ( | audioamp4_t * | ctx, |
audioamp4_cfg_t * | cfg ) |
Initialization function.
audioamp4 | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
AUDIOAMP4_RETVAL audioamp4_set_channel | ( | audioamp4_t * | ctx, |
uint8_t | channel ) |
Set channel function function.
ctx | Click object. |
channel | Selected channel |
@description This function executes default configuration for AudioAmp 4 click.
AUDIOAMP4_RETVAL audioamp4_shutdown | ( | audioamp4_t * | ctx, |
uint8_t | state ) |
Set channel function function.
ctx | Click object. |
state | State of device |
@description This function executes default configuration for AudioAmp 4 click.