STM32769I_EVAL BSP User Manual
|
Defines | |
#define | DFSDM_OVER_SAMPLING(__FREQUENCY__) |
#define | DFSDM_CLOCK_DIVIDER(__FREQUENCY__) |
#define | DFSDM_FILTER_ORDER(__FREQUENCY__) |
#define | DFSDM_RIGHT_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 158 of file stm32f769i_eval_audio.c.
Referenced by DFSDMx_Init().
#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 167 of file stm32f769i_eval_audio.c.
Referenced by DFSDMx_Init().
#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 149 of file stm32f769i_eval_audio.c.
Referenced by DFSDMx_Init().
#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 176 of file stm32f769i_eval_audio.c.
Referenced by DFSDMx_Init().
#define SaturaLH | ( | N, | |
L, | |||
H | |||
) | (((N)<(L))?(L):(((N)>(H))?(H):(N))) |
Definition at line 186 of file stm32f769i_eval_audio.c.
Referenced by HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
Generated on Thu May 25 2017 11:03:12 for STM32769I_EVAL BSP User Manual by 1.7.6.1