audioamp11 2.1.0.0
|
AudioAMP 11 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint8_t | vol_ctrl = AUDIOAMP11_GS_12dB_VOLCTRL_m20_5dB |
AudioAMP 11 Click example.
This library contains API for the AudioAMP 11 click driver. This demo application shows use of a AudioAMP 11 click boardâ„¢.
The demo application is composed of two sections :
Initialization of I2C module and log UART. After driver initialization the app set default settings, performs power-up sequence, sets the volume level to 0.
This example demonstrates the use of the AudioAMP 11 click boardâ„¢. If GAIN SEL switches are set to 12dB, the app performs circles switching the volume from -20.5 dB to 12 dB. If the GAIN SEL switches are different, the app sets the volume level to 31 (maximum). Results are being sent to the UART Terminal, where you can track their changes.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint8_t vol_ctrl = AUDIOAMP11_GS_12dB_VOLCTRL_m20_5dB |