Go to the source code of this file.
Macros | |
#define | HAL_WM8960_MAP_MODULE(module) |
wm8960 map module More... | |
#define | HAL_WM8960_MAP_PROTOCOL(protocol) |
wm8960 map protocol More... | |
#define | HAL_WM8960_MODULE_CAPABILITY |
module capability definition More... | |
#define | HAL_WM8960_PLAY_CAPABILITY |
#define | HAL_WM8960_RECORD_CAPABILITY |
Functions | |
status_t | HAL_CODEC_Deinit (void *handle) |
Codec de-initilization. More... | |
status_t | HAL_CODEC_Init (void *handle, void *config) |
Codec initilization. More... | |
status_t | HAL_CODEC_ModuleControl (void *handle, uint32_t cmd, uint32_t data) |
codec module control. More... | |
status_t | HAL_CODEC_SetFormat (void *handle, uint32_t mclk, uint32_t sampleRate, uint32_t bitWidth) |
set audio data format. More... | |
status_t | HAL_CODEC_SetMute (void *handle, uint32_t playChannel, bool isMute) |
set audio codec module mute. More... | |
status_t | HAL_CODEC_SetPlay (void *handle, uint32_t playSource) |
codec set play source. More... | |
status_t | HAL_CODEC_SetPower (void *handle, uint32_t module, bool powerOn) |
set audio codec module power. More... | |
status_t | HAL_CODEC_SetRecord (void *handle, uint32_t recordSource) |
codec set record source. More... | |
status_t | HAL_CODEC_SetRecordChannel (void *handle, uint32_t leftRecordChannel, uint32_t rightRecordChannel) |
codec set record channel. More... | |
status_t | HAL_CODEC_SetVolume (void *handle, uint32_t playChannel, uint32_t volume) |
set audio codec module volume. More... | |
Variables | |
static const codec_capability_t | s_wm8960_capability |
#define HAL_WM8960_MAP_MODULE | ( | module | ) |
wm8960 map module
Definition at line 39 of file fsl_codec_adapter.c.
#define HAL_WM8960_MAP_PROTOCOL | ( | protocol | ) |
wm8960 map protocol
Definition at line 29 of file fsl_codec_adapter.c.
#define HAL_WM8960_MODULE_CAPABILITY |
module capability definition
Definition at line 15 of file fsl_codec_adapter.c.
#define HAL_WM8960_PLAY_CAPABILITY |
Definition at line 19 of file fsl_codec_adapter.c.
#define HAL_WM8960_RECORD_CAPABILITY |
Definition at line 24 of file fsl_codec_adapter.c.
|
static |
Definition at line 66 of file fsl_codec_adapter.c.