/** ****************************************************************************** * @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 ------------------------------------------------------- */voidError_Handler(void);/* SAI peripheral configuration defines */#defineAUDIO_SAIxSAI2_Block_B#defineAUDIO_SAIx_CLK_ENABLE()__HAL_RCC_SAI2_CLK_ENABLE()#defineAUDIO_SAIx_FS_GPIO_PORTGPIOG#defineAUDIO_SAIx_FS_AFGPIO_AF10_SAI2#defineAUDIO_SAIx_FS_PINGPIO_PIN_9#defineAUDIO_SAIx_SCK_GPIO_PORTGPIOA#defineAUDIO_SAIx_SCK_AFGPIO_AF8_SAI2#defineAUDIO_SAIx_SCK_PINGPIO_PIN_2#defineAUDIO_SAIx_SD_GPIO_PORTGPIOG#defineAUDIO_SAIx_SD_AFGPIO_AF10_SAI2#defineAUDIO_SAIx_SD_PINGPIO_PIN_10#defineAUDIO_SAIx_MCLK_GPIO_PORTGPIOA#defineAUDIO_SAIx_MCLK_AFGPIO_AF10_SAI2#defineAUDIO_SAIx_MCLK_PINGPIO_PIN_1#defineAUDIO_SAIx_MCLK_ENABLE()__HAL_RCC_GPIOA_CLK_ENABLE()#defineAUDIO_SAIx_SCK_ENABLE()__HAL_RCC_GPIOA_CLK_ENABLE()#defineAUDIO_SAIx_FS_ENABLE()__HAL_RCC_GPIOG_CLK_ENABLE()#defineAUDIO_SAIx_SD_ENABLE()__HAL_RCC_GPIOG_CLK_ENABLE()18 definesExported functions/* ... */#endif/* __MAIN_H */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.