Searched refs:wm8904_handle_t (Results 1 – 3 of 3) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8904/ |
D | fsl_wm8904.h | 286 } wm8904_handle_t; typedef 303 status_t WM8904_WriteRegister(wm8904_handle_t *handle, uint8_t reg, uint16_t value); 313 status_t WM8904_ReadRegister(wm8904_handle_t *handle, uint8_t reg, uint16_t *value); 324 status_t WM8904_ModifyRegister(wm8904_handle_t *handle, uint8_t reg, uint16_t mask, uint16_t value); 332 status_t WM8904_Init(wm8904_handle_t *handle, wm8904_config_t *wm8904Config); 343 status_t WM8904_Deinit(wm8904_handle_t *handle); 368 status_t WM8904_SetMasterSlave(wm8904_handle_t *handle, bool master); 383 status_t WM8904_SetMasterClock(wm8904_handle_t *handle, uint32_t sysclk, uint32_t sampleRate, uint3… 394 status_t WM8904_SetFLLConfig(wm8904_handle_t *handle, wm8904_fll_config_t *config); 404 status_t WM8904_SetProtocol(wm8904_handle_t *handle, wm8904_protocol_t protocol); [all …]
|
D | fsl_wm8904.c | 46 static status_t WM8904_UpdateFormat(wm8904_handle_t *handle, 57 static status_t WM8904_WaitOnWriteSequencer(wm8904_handle_t *handle); 74 static status_t WM8904_UpdateFormat(wm8904_handle_t *handle, in WM8904_UpdateFormat() 113 static status_t WM8904_WaitOnWriteSequencer(wm8904_handle_t *handle) in WM8904_WaitOnWriteSequencer() 134 status_t WM8904_WriteRegister(wm8904_handle_t *handle, uint8_t reg, uint16_t value) in WM8904_WriteRegister() 152 status_t WM8904_ReadRegister(wm8904_handle_t *handle, uint8_t reg, uint16_t *value) in WM8904_ReadRegister() 177 status_t WM8904_ModifyRegister(wm8904_handle_t *handle, uint8_t reg, uint16_t mask, uint16_t value) in WM8904_ModifyRegister() 200 status_t WM8904_Init(wm8904_handle_t *handle, wm8904_config_t *wm8904Config) in WM8904_Init() 454 status_t WM8904_Deinit(wm8904_handle_t *handle) in WM8904_Deinit() 496 status_t WM8904_SetMasterSlave(wm8904_handle_t *handle, bool master) in WM8904_SetMasterSlave() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/port/wm8904/ |
D | fsl_codec_wm8904_adapter.c | 94 …wm8904_handle_t *devHandle = (wm8904_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHa… in HAL_CODEC_WM8904_Init() 112 … return WM8904_Deinit((wm8904_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle))); in HAL_CODEC_WM8904_Deinit() 129 …ret = WM8904_SetAudioFormat((wm8904_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHan… in HAL_CODEC_WM8904_SetFormat() 158 …ret = WM8904_SetDACVolume((wm8904_handle_t *)((uint32_t)(((codec_handle_t *)handle)->code… in HAL_CODEC_WM8904_SetVolume() 172 …ret = WM8904_SetChannelMute((wm8904_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHan… in HAL_CODEC_WM8904_SetVolume() 180 …ret = WM8904_SetChannelVolume((wm8904_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevH… in HAL_CODEC_WM8904_SetVolume() 184 …ret = WM8904_SetChannelMute((wm8904_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHan… in HAL_CODEC_WM8904_SetVolume() 205 …return WM8904_SetChannelMute((wm8904_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHa… in HAL_CODEC_WM8904_SetMute() 222 …ret = WM8904_SetModulePower((wm8904_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHan… in HAL_CODEC_WM8904_SetPower() 246 …ret = WM8904_SetRecord((wm8904_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle))… in HAL_CODEC_WM8904_SetRecord() [all …]
|