Variables
CS43L22_Private_Variables
Collaboration diagram for CS43L22_Private_Variables:

Variables

AUDIO_DrvTypeDef cs43l22_drv
 
AUDIO_DrvTypeDef cs43l22_drv
 
AUDIO_DrvTypeDef cs43l22_drv
 
static uint8_t Is_cs43l22_Stop = 1
 
static uint8_t Is_cs43l22_Stop = 1
 
static uint8_t Is_cs43l22_Stop = 1
 
volatile uint8_t OutputDev = 0
 
volatile uint8_t OutputDev = 0
 
volatile uint8_t OutputDev = 0
 

Detailed Description

Variable Documentation

◆ cs43l22_drv [1/3]

AUDIO_DrvTypeDef cs43l22_drv

◆ cs43l22_drv [2/3]

AUDIO_DrvTypeDef cs43l22_drv

◆ cs43l22_drv [3/3]

AUDIO_DrvTypeDef cs43l22_drv

◆ Is_cs43l22_Stop [1/3]

uint8_t Is_cs43l22_Stop = 1
static

◆ Is_cs43l22_Stop [2/3]

uint8_t Is_cs43l22_Stop = 1
static

◆ Is_cs43l22_Stop [3/3]

uint8_t Is_cs43l22_Stop = 1
static

◆ OutputDev [1/3]

volatile uint8_t OutputDev = 0

◆ OutputDev [2/3]

volatile uint8_t OutputDev = 0

◆ OutputDev [3/3]

volatile uint8_t OutputDev = 0
cs43l22_ReadID
uint32_t cs43l22_ReadID(uint16_t DeviceAddr)
Get the CS43L22 ID.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:228
cs43l22_SetVolume
uint32_t cs43l22_SetVolume(uint16_t DeviceAddr, uint8_t Volume)
Sets higher or lower the codec volume level.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:344
cs43l22_Play
uint32_t cs43l22_Play(uint16_t DeviceAddr, uint16_t *pBuffer, uint16_t Size)
Start the audio Codec play feature.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:246
cs43l22_SetMute
uint32_t cs43l22_SetMute(uint16_t DeviceAddr, uint32_t Cmd)
Enables or disables the mute feature on the audio codec.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:383
cs43l22_Init
uint32_t cs43l22_Init(uint16_t DeviceAddr, uint16_t OutputDevice, uint8_t Volume, uint32_t AudioFreq)
Initializes the audio codec and the control interface.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:133
cs43l22_DeInit
void cs43l22_DeInit(void)
Deinitializes the audio codec.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:217
cs43l22_SetOutputMode
uint32_t cs43l22_SetOutputMode(uint16_t DeviceAddr, uint8_t Output)
Switch dynamically (while audio file is played) the output target (speaker or headphone).
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:412
cs43l22_Reset
uint32_t cs43l22_Reset(uint16_t DeviceAddr)
Resets cs43l22 registers.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:451
cs43l22_Resume
uint32_t cs43l22_Resume(uint16_t DeviceAddr)
Resumes playing on the audio codec.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:291
cs43l22_Pause
uint32_t cs43l22_Pause(uint16_t DeviceAddr)
Pauses playing on the audio codec.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:272
cs43l22_SetFrequency
uint32_t cs43l22_SetFrequency(uint16_t DeviceAddr, uint32_t AudioFreq)
Sets new frequency.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:371
cs43l22_Stop
uint32_t cs43l22_Stop(uint16_t DeviceAddr, uint32_t CodecPdwnMode)
Stops audio Codec playing. It powers down the codec.
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.c:319


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