/** ****************************************************************************** * @file BSP/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"stm32f401_discovery.h"#include"stm32f401_discovery_accelerometer.h"#include"stm32f401_discovery_audio.h"#include"stm32f401_discovery_gyroscope.h"#include"mems.h"#include"audio_play.h"#include"audio_record.h"#include<stdio.h>8 includesIncludes/* Exported types ------------------------------------------------------------*/typedefstruct{void(*DemoFunc)(void);uint8_tDemoName[50];uint32_tDemoIndex;...}BSP_DemoTypedef;Exported types/* Exported constants --------------------------------------------------------*/#defineCOUNT_OF_EXAMPLE(x)(sizeof(x)/sizeof(BSP_DemoTypedef))/* Size of the recorder buffer (Multiple of 4096, RAM_BUFFER_SIZE used in BSP)*/#defineWR_BUFFER_SIZE0x7000/* Defines for the Audio playing process */#definePAUSE_STATUS((uint32_t)0x00)/* Audio Player in Pause Status */#defineRESUME_STATUS((uint32_t)0x01)/* Audio Player in Resume Status */#defineIDLE_STATUS((uint32_t)0x02)/* Audio Player in Idle Status */5 definesExported constants/* Exported functions ------------------------------------------------------- */voidToggle_Leds(void);voidError_Handler(void);Exported functions/* ... */#endif/* __MAIN_H */