audioamp4 2.0.0.0
|
This file contains API for AudioAmp 4 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | audioamp4_t |
Click ctx object definition. More... | |
struct | audioamp4_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | AUDIOAMP4_MAP_MIKROBUS(cfg, mikrobus) |
#define | AUDIOAMP4_RETVAL uint8_t |
#define | AUDIOAMP4_OK 0x00 |
#define | AUDIOAMP4_SHTDWN_STATE_ERR 0x01 |
#define | AUDIOAMP4_VOL_CHANN_ERR 0x02 |
#define | AUDIOAMP4_VOLUME_CHANN_0 0x00 |
#define | AUDIOAMP4_VOLUME_CHANN_1 0x01 |
#define | AUDIOAMP4_VOLUME_CHANN_2 0x02 |
#define | AUDIOAMP4_VOLUME_CHANN_3 0x03 |
#define | AUDIOAMP4_VOLUME_CHANN_4 0x04 |
#define | AUDIOAMP4_VOLUME_CHANN_5 0x05 |
#define | AUDIOAMP4_VOLUME_CHANN_6 0x06 |
#define | AUDIOAMP4_VOLUME_CHANN_7 0x07 |
#define | AUDIOAMP4_SHUTDOWN_ON 0x01 |
#define | AUDIOAMP4_SHUTDOWN_OFF 0x00 |
Functions | |
void | audioamp4_cfg_setup (audioamp4_cfg_t *cfg) |
Config Object Initialization function. | |
AUDIOAMP4_RETVAL | audioamp4_init (audioamp4_t *ctx, audioamp4_cfg_t *cfg) |
Initialization function. | |
void | audioamp4_default_cfg (audioamp4_t *ctx) |
Click Default Configuration function. | |
AUDIOAMP4_RETVAL | audioamp4_set_channel (audioamp4_t *ctx, uint8_t channel) |
Set channel function function. | |
AUDIOAMP4_RETVAL | audioamp4_shutdown (audioamp4_t *ctx, uint8_t state) |
Set channel function function. | |
This file contains API for AudioAmp 4 Click driver.