Variables
WM8994_Private_Variables
Collaboration diagram for WM8994_Private_Variables:

Variables

static uint8_t ColdStartup = 1
 
static uint32_t inputEnabled = 0
 
static uint32_t outputEnabled = 0
 
AUDIO_DrvTypeDef wm8994_drv
 

Detailed Description

Variable Documentation

◆ ColdStartup

uint8_t ColdStartup = 1
static

◆ inputEnabled

uint32_t inputEnabled = 0
static

◆ outputEnabled

uint32_t outputEnabled = 0
static

◆ wm8994_drv

AUDIO_DrvTypeDef wm8994_drv
wm8994_Reset
uint32_t wm8994_Reset(uint16_t DeviceAddr)
Resets wm8994 registers.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:1026
wm8994_Init
uint32_t wm8994_Init(uint16_t DeviceAddr, uint16_t OutputInputDevice, uint8_t Volume, uint32_t AudioFreq)
Initializes the audio codec and the control interface.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:137
wm8994_SetOutputMode
uint32_t wm8994_SetOutputMode(uint16_t DeviceAddr, uint8_t Output)
Switch dynamically (while audio file is played) the output target (speaker or headphone).
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:879
wm8994_SetFrequency
uint32_t wm8994_SetFrequency(uint16_t DeviceAddr, uint32_t AudioFreq)
Sets new frequency.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:966
wm8994_Resume
uint32_t wm8994_Resume(uint16_t DeviceAddr)
Resumes playing on the audio codec.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:698
wm8994_Play
uint32_t wm8994_Play(uint16_t DeviceAddr, uint16_t *pBuffer, uint16_t Size)
Start the audio Codec play feature.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:663
wm8994_ReadID
uint32_t wm8994_ReadID(uint16_t DeviceAddr)
Get the WM8994 ID.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:649
wm8994_Stop
uint32_t wm8994_Stop(uint16_t DeviceAddr, uint32_t CodecPdwnMode)
Stops audio Codec playing. It powers down the codec.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:722
wm8994_SetVolume
uint32_t wm8994_SetVolume(uint16_t DeviceAddr, uint8_t Volume)
Sets higher or lower the codec volume level.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:768
wm8994_DeInit
void wm8994_DeInit(void)
Deinitializes the audio codec.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:638
wm8994_Pause
uint32_t wm8994_Pause(uint16_t DeviceAddr)
Pauses playing on the audio codec.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:679
wm8994_SetMute
uint32_t wm8994_SetMute(uint16_t DeviceAddr, uint32_t Cmd)
Enables or disables the mute feature on the audio codec.
Definition: stm32f769/stm32f769i-disco/Drivers/BSP/Components/wm8994/wm8994.c:844


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08