Select one of the symbols to view example projects that use it.
 
Outline
#define __MAIN_H
Includes
#include "stdio.h"
#include "usbh_core.h"
#include "usbh_msc.h"
#include "stm32469i_discovery.h"
#include "stm32469i_discovery_lcd.h"
#include "lcd_log.h"
#include "ff.h"
#include "ff_gen_drv.h"
#include "usbh_diskio_dma.h"
Exported types
MSC_Demo_State
_DemoStateMachine
MSC_ApplicationTypeDef
hUSBHost;
USBH_fatfs;
Appli_state;
Exported functions
Explore_Disk(char *, uint8_t);
MSC_File_Operations();
Toggle_Leds();
Menu_Init();
MSC_MenuProcess();
Files
loading...
CodeScopeSTM32 Libraries and SamplesMSC_StandaloneInc/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
60
61
62
63
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file USB_Host/MSC_Standalone/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 "stdio.h" #include "usbh_core.h" #include "usbh_msc.h" #include "stm32469i_discovery.h" #include "stm32469i_discovery_lcd.h" #include "lcd_log.h" #include "ff.h" #include "ff_gen_drv.h" #include "usbh_diskio_dma.h" 9 includes Includes/* Exported types ------------------------------------------------------------*/ typedef enum { MSC_DEMO_START = 0, MSC_DEMO_FILE_OPERATIONS, MSC_DEMO_EXPLORER, ...}MSC_Demo_State; typedef struct _DemoStateMachine { __IO MSC_Demo_State state; __IO uint8_t select; ...}MSC_DEMO_StateMachine; typedef enum { APPLICATION_IDLE = 0, APPLICATION_READY, APPLICATION_DISCONNECT, ...}MSC_ApplicationTypeDef; extern USBH_HandleTypeDef hUSBHost; extern FATFS USBH_fatfs; extern MSC_ApplicationTypeDef Appli_state; Exported types /* Exported constants --------------------------------------------------------*/ /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ FRESULT Explore_Disk(char *path, uint8_t recu_level); void MSC_File_Operations(void); void Toggle_Leds(void); void Menu_Init(void); void MSC_MenuProcess(void); Exported functions /* ... */#endif /* __MAIN_H */