Macros
STM32F769I_DISCOVERY_AUDIO Private Macros
Collaboration diagram for STM32F769I_DISCOVERY_AUDIO Private Macros:

Macros

#define DFSDM_CLOCK_DIVIDER(__FREQUENCY__)
 
#define DFSDM_FILTER_ORDER(__FREQUENCY__)
 
#define DFSDM_OVER_SAMPLING(__FREQUENCY__)
 
#define DFSDM_RIGHT_BIT_SHIFT(__FREQUENCY__)
 
#define SaturaLH(N, L, H)   (((N)<(L))?(L):(((N)>(H))?(H):(N)))
 

Detailed Description

Macro Definition Documentation

◆ DFSDM_CLOCK_DIVIDER

#define DFSDM_CLOCK_DIVIDER (   __FREQUENCY__)
Value:
(__FREQUENCY__ == AUDIO_FREQUENCY_8K) ? 24 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_11K) ? 4 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_16K) ? 24 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_22K) ? 4 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_32K) ? 24 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_44K) ? 4 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_48K) ? 25 : 25 \

Definition at line 189 of file stm32f769i_discovery_audio.c.

◆ DFSDM_FILTER_ORDER

#define DFSDM_FILTER_ORDER (   __FREQUENCY__)

◆ DFSDM_OVER_SAMPLING

#define DFSDM_OVER_SAMPLING (   __FREQUENCY__)
Value:
(__FREQUENCY__ == AUDIO_FREQUENCY_8K) ? 256 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_11K) ? 256 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_16K) ? 128 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_22K) ? 128 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_32K) ? 64 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_44K) ? 64 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_48K) ? 40 : 20 \

Definition at line 180 of file stm32f769i_discovery_audio.c.

◆ DFSDM_RIGHT_BIT_SHIFT

#define DFSDM_RIGHT_BIT_SHIFT (   __FREQUENCY__)
Value:
(__FREQUENCY__ == AUDIO_FREQUENCY_8K) ? 8 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_11K) ? 8 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_16K) ? 3 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_22K) ? 4 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_32K) ? 7 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_44K) ? 0 \
: (__FREQUENCY__ == AUDIO_FREQUENCY_48K) ? 0 : 4 \

Definition at line 207 of file stm32f769i_discovery_audio.c.

◆ SaturaLH

#define SaturaLH (   N,
  L,
 
)    (((N)<(L))?(L):(((N)>(H))?(H):(N)))

Definition at line 217 of file stm32f769i_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
DFSDM_FILTER_SINC5_ORDER
#define DFSDM_FILTER_SINC5_ORDER
Definition: stm32h7xx_hal_dfsdm.h:434
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
DFSDM_FILTER_SINC3_ORDER
#define DFSDM_FILTER_SINC3_ORDER
Definition: stm32h7xx_hal_dfsdm.h:432
DFSDM_FILTER_SINC4_ORDER
#define DFSDM_FILTER_SINC4_ORDER
Definition: stm32h7xx_hal_dfsdm.h:433


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