STM32H743I_EVAL BSP User Manual: AUDIO Private Macros

STM32H743I_EVAL BSP

STM32H743I_EVAL BSP User Manual

Defines

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

Define Documentation

#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 179 of file stm32h743i_eval_audio.c.

Referenced by BSP_AUDIO_IN_ConfigMicDefault().

#define DFSDM_FILTER_ORDER (   __FREQUENCY__)
Value:
(__FREQUENCY__ == AUDIO_FREQUENCY_8K)  ? DFSDM_FILTER_SINC3_ORDER \
      : (__FREQUENCY__ == AUDIO_FREQUENCY_11K) ? DFSDM_FILTER_SINC3_ORDER \
      : (__FREQUENCY__ == AUDIO_FREQUENCY_16K) ? DFSDM_FILTER_SINC3_ORDER \
      : (__FREQUENCY__ == AUDIO_FREQUENCY_22K) ? DFSDM_FILTER_SINC3_ORDER \
      : (__FREQUENCY__ == AUDIO_FREQUENCY_32K) ? DFSDM_FILTER_SINC4_ORDER \
      : (__FREQUENCY__ == AUDIO_FREQUENCY_44K) ? DFSDM_FILTER_SINC3_ORDER  \
      : (__FREQUENCY__ == AUDIO_FREQUENCY_48K) ? DFSDM_FILTER_SINC3_ORDER : DFSDM_FILTER_SINC5_ORDER  \

Definition at line 188 of file stm32h743i_eval_audio.c.

Referenced by BSP_AUDIO_IN_ConfigMicDefault().

#define DFSDM_MIC_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) ? 2  \
      : (__FREQUENCY__ == AUDIO_FREQUENCY_48K) ? 0 : 4  \

Definition at line 197 of file stm32h743i_eval_audio.c.

Referenced by BSP_AUDIO_IN_ConfigMicDefault().

#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 170 of file stm32h743i_eval_audio.c.

Referenced by BSP_AUDIO_IN_ConfigMicDefault().

#define SaturaLH (   N,
  L,
 
)    (((N)<(L))?(L):(((N)>(H))?(H):(N)))
Generated on Wed Aug 23 2017 17:45:14 for STM32H743I_EVAL BSP User Manual by   doxygen 1.7.6.1