audioamp8 2.0.0.0
|
This file contains API for AudioAmp 8 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 | audioamp8_t |
AudioAmp 8 Click context object. More... | |
struct | audioamp8_cfg_t |
AudioAmp 8 Click configuration object. More... | |
struct | audioamp8_pwr_mon_cfg_t |
AudioAmp 8 Click power mode configuration object. More... | |
struct | audioamp8_pwr_mod_profile_cfg_t |
AudioAmp 8 Click power mode profile configuration object. More... | |
struct | audioamp8_monitor_channel_t |
AudioAmp 8 Click monitor channel object. More... | |
struct | audioamp8_error_status_t |
AudioAmp 8 Click monitor channel object. More... | |
Functions | |
void | audioamp8_cfg_setup (audioamp8_cfg_t *cfg) |
AudioAmp 8 configuration object setup function. | |
err_t | audioamp8_init (audioamp8_t *ctx, audioamp8_cfg_t *cfg) |
AudioAmp 8 initialization function. | |
err_t | audioamp8_default_cfg (audioamp8_t *ctx) |
AudioAmp 8 default configuration function. | |
err_t | audioamp8_generic_write (audioamp8_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
AudioAmp 8 I2C writing function. | |
err_t | audioamp8_generic_read (audioamp8_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
AudioAmp 8 I2C reading function. | |
err_t | audioamp8_start_up (audioamp8_t *ctx) |
AudioAmp 8 start-up procedure function. | |
err_t | audioamp8_shut_down (audioamp8_t *ctx) |
AudioAmp 8 shut-down procedure function. | |
err_t | audioamp8_set_mute (audioamp8_t *ctx, uint8_t en_mute) |
AudioAmp 8 mute function. | |
err_t | audioamp8_set_enable (audioamp8_t *ctx, uint8_t dev_en) |
AudioAmp 8 enable function. | |
err_t | audioamp8_btl_cfg (audioamp8_t *ctx) |
AudioAmp 8 BTL configuration function. | |
err_t | audioamp8_set_cfg_pmode (audioamp8_t *ctx, audioamp8_pwr_mon_cfg_t pwr_mode) |
AudioAmp 8 set power mode configuration function. | |
err_t | audioamp8_get_cfg_pmode (audioamp8_t *ctx, audioamp8_pwr_mon_cfg_t *pwr_mode) |
AudioAmp 8 get power mode configuration function. | |
err_t | audioamp8_set_soft_copl (audioamp8_t *ctx, uint8_t lf_clamp_en, uint8_t ocp_latch_en) |
AudioAmp 8 set soft-clipping and overcurrent protection latching function. | |
err_t | audioamp8_set_cfg_pmode_p (audioamp8_t *ctx, audioamp8_pwr_mod_profile_cfg_t pm_profile) |
AudioAmp 8 set power mode profile configuration function. | |
err_t | audioamp8_get_cfg_pmode_p (audioamp8_t *ctx, audioamp8_pwr_mod_profile_cfg_t *pm_profile) |
AudioAmp 8 get power mode configuration function. | |
err_t | audioamp8_clr_opl (audioamp8_t *ctx) |
AudioAmp 8 over-current protection latch clear function. | |
err_t | audioamp8_set_audio_imode (audioamp8_t *ctx, uint8_t audio_in_mode) |
AudioAmp 8 set audio IN mode function. | |
err_t | audioamp8_set_dc_protection (audioamp8_t *ctx, uint8_t eh_dcshdn) |
AudioAmp 8 set DC protection function. | |
err_t | audioamp8_set_audio_imode_ow (audioamp8_t *ctx, uint8_t audio_in_mode_ext) |
AudioAmp 8 set audio IN mode overwrite function. | |
err_t | audioamp8_clr_err_handler (audioamp8_t *ctx) |
AudioAmp 8 error handler clear function. | |
err_t | audioamp8_channel_monitoring (audioamp8_t *ctx, uint8_t mon_ch, audioamp8_monitor_channel_t *ch_mon) |
AudioAmp 8 monitors the status of the channel's function. | |
err_t | audioamp8_monitor_msel (audioamp8_t *ctx, uint8_t *msel) |
AudioAmp 8 monitor msel function. | |
err_t | audioamp8_err_status (audioamp8_t *ctx, audioamp8_error_status_t *error_status) |
AudioAmp 8 get error status function. | |
This file contains API for AudioAmp 8 Click Driver.