audioamp6 2.0.0.0
|
Functions | |
void | audioamp6_cfg_setup (audioamp6_cfg_t *cfg) |
Config Object Initialization function. | |
AUDIOAMP6_RETVAL | audioamp6_init (audioamp6_t *ctx, audioamp6_cfg_t *cfg) |
Initialization function. | |
void | audioamp6_set_mode (audioamp6_t *ctx, uint8_t mode) |
Sets mode. | |
void | audioamp6_set_output (audioamp6_t *ctx, uint8_t out) |
Enable or Disable output. | |
void | audioamp6_set_gain (audioamp6_t *ctx, uint8_t gain) |
Sets Gain. | |
void audioamp6_cfg_setup | ( | audioamp6_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
AUDIOAMP6_RETVAL audioamp6_init | ( | audioamp6_t * | ctx, |
audioamp6_cfg_t * | cfg ) |
Initialization function.
audioamp6 | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void audioamp6_set_gain | ( | audioamp6_t * | ctx, |
uint8_t | gain ) |
Sets Gain.
ctx | Click object. |
gain | GAIN 20 dB or 26 dB |
void audioamp6_set_mode | ( | audioamp6_t * | ctx, |
uint8_t | mode ) |
Sets mode.
ctx | Click object. |
mode | Low = BD Mode/UV Threshold = 7.5 V High = Low-Idle-Current 1SPW Mode/UV Threshold = 3.4V |
void audioamp6_set_output | ( | audioamp6_t * | ctx, |
uint8_t | out ) |
Enable or Disable output.
ctx | Click object. |
out | Output enabled or disabled |