Macros
STM32469I Discovery AUDIO Private macros
Collaboration diagram for STM32469I Discovery AUDIO Private macros:

Macros

#define SAIClockDivider(__FREQUENCY__)
 

Detailed Description

Macro Definition Documentation

◆ SAIClockDivider

#define SAIClockDivider (   __FREQUENCY__)
Value:
(__FREQUENCY__ == AUDIO_FREQUENCY_8K) ? 12 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_11K) ? 2 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_16K) ? 6 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_22K) ? 1 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_32K) ? 3 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_44K) ? 0 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_48K) ? 2 : 1 \

Definition at line 144 of file stm32469i_discovery_audio.c.

AUDIO_FREQUENCY_11K
#define AUDIO_FREQUENCY_11K
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.h:100
AUDIO_FREQUENCY_16K
#define AUDIO_FREQUENCY_16K
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.h:99
AUDIO_FREQUENCY_32K
#define AUDIO_FREQUENCY_32K
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.h:97
AUDIO_FREQUENCY_8K
#define AUDIO_FREQUENCY_8K
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.h:101
AUDIO_FREQUENCY_22K
#define AUDIO_FREQUENCY_22K
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.h:98
AUDIO_FREQUENCY_44K
#define AUDIO_FREQUENCY_44K
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.h:96
AUDIO_FREQUENCY_48K
#define AUDIO_FREQUENCY_48K
Definition: stm32f407/stm32f407g-disc1/Drivers/BSP/Components/cs43l22/cs43l22.h:95


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