STM3210E_EVAL BSP User Manual: STM3210E EVAL AUDIO OUT Exported Constants

STM3210E_EVAL BSP

STM3210E_EVAL BSP User Manual
STM3210E EVAL AUDIO OUT Exported Constants

Defines

#define I2SOUT   SPI2
#define I2SOUT_CLK_ENABLE()   __HAL_RCC_SPI2_CLK_ENABLE()
#define I2SOUT_CLK_DISABLE()   __HAL_RCC_SPI2_CLK_DISABLE()
#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   0xE /* Select the preemption priority level(0 is the highest) */
#define AUDIO_OK   0
#define AUDIO_ERROR   1
#define AUDIO_TIMEOUT   2

Define Documentation

#define AUDIO_OUT_IRQ_PREPRIO   0xE /* Select the preemption priority level(0 is the highest) */

Definition at line 99 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define AUDIO_TIMEOUT   2

Definition at line 108 of file stm3210e_eval_audio.h.

#define DMA_MAX_SZE   0xFFFF

Definition at line 94 of file stm3210e_eval_audio.h.

#define I2SOUT_CLK_DISABLE ( )    __HAL_RCC_SPI2_CLK_DISABLE()

Definition at line 76 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit().

#define I2SOUT_CLK_ENABLE ( )    __HAL_RCC_SPI2_CLK_ENABLE()

Definition at line 75 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define I2SOUT_DMAx_CHANNEL   DMA1_Channel5

Definition at line 90 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define I2SOUT_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA1_CLK_ENABLE()

Definition at line 89 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define I2SOUT_DMAx_IRQ   DMA1_Channel5_IRQn

Definition at line 91 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define I2SOUT_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD

Definition at line 93 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define I2SOUT_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD

Definition at line 92 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define I2SOUT_IRQHandler   DMA1_Channel5_IRQHandler

Definition at line 96 of file stm3210e_eval_audio.h.

#define I2SOUT_MCK_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 78 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define I2SOUT_MCK_GPIO_PORT   GPIOC

Definition at line 86 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define I2SOUT_MCK_PIN   GPIO_PIN_6 /* PC.06*/

Definition at line 83 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define I2SOUT_SCK_PIN   GPIO_PIN_13 /* PB.13*/

Definition at line 81 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define I2SOUT_SCK_SD_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 77 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define I2SOUT_SCK_SD_GPIO_PORT   GPIOB

Definition at line 84 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define I2SOUT_SD_PIN   GPIO_PIN_15 /* PB.15*/

Definition at line 82 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define I2SOUT_WS_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 79 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define I2SOUT_WS_GPIO_PORT   GPIOB

Definition at line 85 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define I2SOUT_WS_PIN   GPIO_PIN_12 /* PB.12*/

Definition at line 80 of file stm3210e_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

Generated on Fri Feb 24 2017 17:15:12 for STM3210E_EVAL BSP User Manual by   doxygen 1.7.6.1