audioamp11 2.1.0.0
|
This file contains API for AudioAMP 11 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | audioamp11_t |
AudioAMP 11 Click context object. More... | |
struct | audioamp11_cfg_t |
AudioAMP 11 Click configuration object. More... | |
Enumerations | |
enum | audioamp11_return_value_t { AUDIOAMP11_OK = 0 , AUDIOAMP11_ERROR = -1 } |
AudioAMP 11 Click return value data. More... | |
Functions | |
void | audioamp11_cfg_setup (audioamp11_cfg_t *cfg) |
AudioAMP 11 configuration object setup function. | |
err_t | audioamp11_init (audioamp11_t *ctx, audioamp11_cfg_t *cfg) |
AudioAMP 11 initialization function. | |
err_t | audioamp11_default_cfg (audioamp11_t *ctx) |
AudioAMP 11 default configuration function. | |
err_t | audioamp11_generic_write (audioamp11_t *ctx, uint8_t reg, uint8_t data_in) |
AudioAMP 11 I2C writing function. | |
err_t | audioamp11_generic_read (audioamp11_t *ctx, uint8_t reg, uint8_t *data_out) |
AudioAMP 11 I2C reading function. | |
void | audioamp11_enable_device (audioamp11_t *ctx) |
AudioAMP 11 enable device function. | |
void | audioamp11_disable_device (audioamp11_t *ctx) |
AudioAMP 11 enable device function. | |
err_t | audioamp11_check_gain (audioamp11_t *ctx, uint8_t *gain) |
AudioAMP 11 check gain function. | |
err_t | audioamp11_get_output_volume_level (audioamp11_t *ctx, uint8_t *volume_data) |
AudioAMP 11 get output volume level function. | |
err_t | audioamp11_set_output_volume_level (audioamp11_t *ctx, uint8_t volume_data) |
AudioAMP 11 set output volume level function. | |
This file contains API for AudioAMP 11 Click Driver.