audioamp3 2.0.0.0
|
This file contains API for AudioAmp 3 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 | audioamp3_t |
Click ctx object definition. More... | |
struct | audioamp3_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | audioamp3_cfg_setup (audioamp3_cfg_t *cfg) |
Config Object Initialization function. | |
AUDIOAMP3_RETVAL | audioamp3_init (audioamp3_t *ctx, audioamp3_cfg_t *cfg) |
Initialization function. | |
void | audioamp3_generic_write (audioamp3_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | audioamp3_generic_read (audioamp3_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | audioamp3_power_up (audioamp3_t *ctx) |
Power Up function. | |
void | audioamp3_hw_reset (audioamp3_t *ctx) |
Hardware reset function. | |
void | audioamp3_read_all_diagnostics (audioamp3_t *ctx, uint8_t *p_all_diagnostics) |
Read all diagnostics function. | |
AUDIOAMP3_STATUS_T | audioamp3_set_channel_low_to_low (audioamp3_t *ctx, uint8_t s_channel) |
Set the channel to low-low state function. | |
AUDIOAMP3_STATUS_T | audioamp3_set_channel_mute_mode (audioamp3_t *ctx, uint8_t s_channel) |
Set the mute mode of channel function. | |
AUDIOAMP3_STATUS_T | audioamp3_run_channel_diagnostics (audioamp3_t *ctx, uint8_t rc_channel) |
Run channel diagnostics function. | |
AUDIOAMP3_STATUS_T | audioamp3_set_play_mode (audioamp3_t *ctx) |
Set the play mode for all channels function. | |
AUDIOAMP3_STATUS_T | audioamp3_set_gain_lvl (audioamp3_t *ctx, uint8_t gain_lvl) |
Set the gain lvl function. | |
This file contains API for AudioAmp 3 Click driver.