Select one of the symbols to view example projects that use it.
 
Outline
#define __MAIN_H
Includes
#include "stm32f4xx_hal.h"
#include "stm32446e_eval.h"
#include "audio.h"
#include "../Components/wm8994/wm8994.h"
Exported functions
Error_Handler();
#define AUDIO_SAIx
#define AUDIO_SAIx_CLK_ENABLE
#define AUDIO_SAIx_FS_GPIO_PORT
#define AUDIO_SAIx_FS_AF
#define AUDIO_SAIx_FS_PIN
#define AUDIO_SAIx_SCK_GPIO_PORT
#define AUDIO_SAIx_SCK_AF
#define AUDIO_SAIx_SCK_PIN
#define AUDIO_SAIx_SD_GPIO_PORT
#define AUDIO_SAIx_SD_AF
#define AUDIO_SAIx_SD_PIN
#define AUDIO_SAIx_MCLK_GPIO_PORT
#define AUDIO_SAIx_MCLK_AF
#define AUDIO_SAIx_MCLK_PIN
#define AUDIO_SAIx_MCLK_ENABLE
#define AUDIO_SAIx_SCK_ENABLE
#define AUDIO_SAIx_FS_ENABLE
#define AUDIO_SAIx_SD_ENABLE
Files
loading...
SourceVuSTM32 Libraries and SamplesSAI_AudioPlayInc/main.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file SAI/SAI_AudioPlay/Inc/main.h * @author MCD Application Team * @brief Header for main.c module ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __MAIN_H #define __MAIN_H /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" #include "stm32446e_eval.h" #include "audio.h" #include "../Components/wm8994/wm8994.h" Includes /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ void Error_Handler(void); /* SAI peripheral configuration defines */ #define AUDIO_SAIx SAI2_Block_B #define AUDIO_SAIx_CLK_ENABLE() __HAL_RCC_SAI2_CLK_ENABLE() #define AUDIO_SAIx_FS_GPIO_PORT GPIOG #define AUDIO_SAIx_FS_AF GPIO_AF10_SAI2 #define AUDIO_SAIx_FS_PIN GPIO_PIN_9 #define AUDIO_SAIx_SCK_GPIO_PORT GPIOA #define AUDIO_SAIx_SCK_AF GPIO_AF8_SAI2 #define AUDIO_SAIx_SCK_PIN GPIO_PIN_2 #define AUDIO_SAIx_SD_GPIO_PORT GPIOG #define AUDIO_SAIx_SD_AF GPIO_AF10_SAI2 #define AUDIO_SAIx_SD_PIN GPIO_PIN_10 #define AUDIO_SAIx_MCLK_GPIO_PORT GPIOA #define AUDIO_SAIx_MCLK_AF GPIO_AF10_SAI2 #define AUDIO_SAIx_MCLK_PIN GPIO_PIN_1 #define AUDIO_SAIx_MCLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() #define AUDIO_SAIx_SCK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() #define AUDIO_SAIx_FS_ENABLE() __HAL_RCC_GPIOG_CLK_ENABLE() #define AUDIO_SAIx_SD_ENABLE() __HAL_RCC_GPIOG_CLK_ENABLE() 18 defines Exported functions /* ... */#endif /* __MAIN_H */
Details