STM32F10x Standard Peripherals Library  3.5.0
I2S_Audio_Frequency

Defines

#define I2S_AudioFreq_192k   ((uint32_t)192000)
#define I2S_AudioFreq_96k   ((uint32_t)96000)
#define I2S_AudioFreq_48k   ((uint32_t)48000)
#define I2S_AudioFreq_44k   ((uint32_t)44100)
#define I2S_AudioFreq_32k   ((uint32_t)32000)
#define I2S_AudioFreq_22k   ((uint32_t)22050)
#define I2S_AudioFreq_16k   ((uint32_t)16000)
#define I2S_AudioFreq_11k   ((uint32_t)11025)
#define I2S_AudioFreq_8k   ((uint32_t)8000)
#define I2S_AudioFreq_Default   ((uint32_t)2)
#define IS_I2S_AUDIO_FREQ(FREQ)

Define Documentation

#define I2S_AudioFreq_11k   ((uint32_t)11025)

Definition at line 309 of file stm32f10x_spi.h.

#define I2S_AudioFreq_16k   ((uint32_t)16000)

Definition at line 308 of file stm32f10x_spi.h.

#define I2S_AudioFreq_192k   ((uint32_t)192000)

Definition at line 302 of file stm32f10x_spi.h.

#define I2S_AudioFreq_22k   ((uint32_t)22050)

Definition at line 307 of file stm32f10x_spi.h.

#define I2S_AudioFreq_32k   ((uint32_t)32000)

Definition at line 306 of file stm32f10x_spi.h.

#define I2S_AudioFreq_44k   ((uint32_t)44100)

Definition at line 305 of file stm32f10x_spi.h.

#define I2S_AudioFreq_48k   ((uint32_t)48000)

Definition at line 304 of file stm32f10x_spi.h.

#define I2S_AudioFreq_8k   ((uint32_t)8000)

Definition at line 310 of file stm32f10x_spi.h.

#define I2S_AudioFreq_96k   ((uint32_t)96000)

Definition at line 303 of file stm32f10x_spi.h.

#define I2S_AudioFreq_Default   ((uint32_t)2)

Definition at line 311 of file stm32f10x_spi.h.

#define IS_I2S_AUDIO_FREQ (   FREQ)
Value:
((((FREQ) >= I2S_AudioFreq_8k) && \
                                  ((FREQ) <= I2S_AudioFreq_192k)) || \
                                 ((FREQ) == I2S_AudioFreq_Default))

Definition at line 313 of file stm32f10x_spi.h.