STM3210C_EVAL BSP User Manual
|
Defines | |
#define | I2SOUT SPI2 |
#define | I2SOUT_CLK_ENABLE() __HAL_RCC_SPI2_CLK_ENABLE() |
#define | I2SOUT_SCK_SD_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() |
#define | I2SOUT_MCK_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE() |
#define | I2SOUT_WS_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() |
#define | I2SOUT_WS_PIN GPIO_PIN_12 /* PB.12*/ |
#define | I2SOUT_SCK_PIN GPIO_PIN_13 /* PB.13*/ |
#define | I2SOUT_SD_PIN GPIO_PIN_15 /* PB.15*/ |
#define | I2SOUT_MCK_PIN GPIO_PIN_6 /* PC.06*/ |
#define | I2SOUT_SCK_SD_GPIO_PORT GPIOB |
#define | I2SOUT_WS_GPIO_PORT GPIOB |
#define | I2SOUT_MCK_GPIO_PORT GPIOC |
#define | I2SOUT_DMAx_CLK_ENABLE() __HAL_RCC_DMA1_CLK_ENABLE() |
#define | I2SOUT_DMAx_CHANNEL DMA1_Channel5 |
#define | I2SOUT_DMAx_IRQ DMA1_Channel5_IRQn |
#define | I2SOUT_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
#define | I2SOUT_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
#define | DMA_MAX_SZE 0xFFFF |
#define | I2SOUT_IRQHandler DMA1_Channel5_IRQHandler |
#define | AUDIO_OUT_IRQ_PREPRIO 5 /* Select the preemption priority level(0 is the highest) */ |
#define | AUDIO_OK 0 |
#define | AUDIO_ERROR 1 |
#define | AUDIO_TIMEOUT 2 |
#define | INTERNAL_BUFF_SIZE 128*DEFAULT_AUDIO_IN_FREQ/16000*DEFAULT_AUDIO_IN_CHANNEL_NBR |
Define Documentation
#define AUDIO_ERROR 1 |
Definition at line 115 of file stm3210c_eval_audio.h.
Referenced by BSP_AUDIO_OUT_Init(), BSP_AUDIO_OUT_Pause(), BSP_AUDIO_OUT_Play(), BSP_AUDIO_OUT_Resume(), BSP_AUDIO_OUT_SetMute(), BSP_AUDIO_OUT_SetOutputMode(), BSP_AUDIO_OUT_SetVolume(), and BSP_AUDIO_OUT_Stop().
#define AUDIO_OK 0 |
Definition at line 114 of file stm3210c_eval_audio.h.
Referenced by BSP_AUDIO_OUT_Init(), BSP_AUDIO_OUT_Pause(), BSP_AUDIO_OUT_Play(), BSP_AUDIO_OUT_Resume(), BSP_AUDIO_OUT_SetMute(), BSP_AUDIO_OUT_SetOutputMode(), BSP_AUDIO_OUT_SetVolume(), and BSP_AUDIO_OUT_Stop().
#define AUDIO_OUT_IRQ_PREPRIO 5 /* Select the preemption priority level(0 is the highest) */ |
Definition at line 107 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define AUDIO_TIMEOUT 2 |
Definition at line 116 of file stm3210c_eval_audio.h.
#define DMA_MAX_SZE 0xFFFF |
Definition at line 102 of file stm3210c_eval_audio.h.
#define I2SOUT SPI2 |
Definition at line 83 of file stm3210c_eval_audio.h.
Referenced by HAL_I2S_ErrorCallback(), HAL_I2S_TxCpltCallback(), HAL_I2S_TxHalfCpltCallback(), I2SOUT_Init(), and I2SOUT_MspInit().
#define I2SOUT_CLK_ENABLE | ( | ) | __HAL_RCC_SPI2_CLK_ENABLE() |
Definition at line 84 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_DMAx_CHANNEL DMA1_Channel5 |
Definition at line 98 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_DMAx_CLK_ENABLE | ( | ) | __HAL_RCC_DMA1_CLK_ENABLE() |
Definition at line 97 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_DMAx_IRQ DMA1_Channel5_IRQn |
Definition at line 99 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
Definition at line 101 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
Definition at line 100 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_IRQHandler DMA1_Channel5_IRQHandler |
Definition at line 104 of file stm3210c_eval_audio.h.
#define I2SOUT_MCK_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOC_CLK_ENABLE() |
Definition at line 86 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_MCK_GPIO_PORT GPIOC |
Definition at line 94 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_MCK_PIN GPIO_PIN_6 /* PC.06*/ |
Definition at line 91 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_SCK_PIN GPIO_PIN_13 /* PB.13*/ |
Definition at line 89 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_SCK_SD_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 85 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_SCK_SD_GPIO_PORT GPIOB |
Definition at line 92 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_SD_PIN GPIO_PIN_15 /* PB.15*/ |
Definition at line 90 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_WS_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 87 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_WS_GPIO_PORT GPIOB |
Definition at line 93 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define I2SOUT_WS_PIN GPIO_PIN_12 /* PB.12*/ |
Definition at line 88 of file stm3210c_eval_audio.h.
Referenced by I2SOUT_MspInit().
#define INTERNAL_BUFF_SIZE 128*DEFAULT_AUDIO_IN_FREQ/16000*DEFAULT_AUDIO_IN_CHANNEL_NBR |
Definition at line 119 of file stm3210c_eval_audio.h.
Generated on Thu Dec 10 2015 17:13:52 for STM3210C_EVAL BSP User Manual by 1.7.6.1