Macros | Enumerations | Functions
fsl_codec_adapter.h File Reference
#include "fsl_wm8960.h"
Include dependency graph for fsl_codec_adapter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HAL_CODEC_HANDLER_SIZE   (WM8960_I2C_HANDLER_SIZE + 4)
 codec handler size More...
 

Enumerations

enum  _codec_type { kCODEC_WM8960 }
 codec type More...
 

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...
 


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:57