BSP
Select one of the symbols to view example projects that use it.
 
Outline
#define __MAIN_H
Includes
#include "stdio.h"
#include "stm32f429i_discovery.h"
#include "stm32f429i_discovery_ts.h"
#include "stm32f429i_discovery_io.h"
#include "stm32f429i_discovery_lcd.h"
#include "stm32f429i_discovery_gyroscope.h"
#include "stm32f429i_discovery_eeprom.h"
Exported types
BSP_DemoTypedef
stlogo;
Exported macro
#define COUNT_OF_EXAMPLE
Exported functions
Joystick_demo();
Touchscreen_demo();
LCD_demo();
MEMS_demo();
Log_demo();
EEPROM_demo();
SD_demo();
Touchscreen_Calibration();
Calibration_GetX(uint16_t);
Calibration_GetY(uint16_t);
IsCalibrationDone();
CheckForUserInput();
Toggle_Leds();
Files
loading (2/5)...
SourceVuSTM32 Libraries and SamplesBSPInc/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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @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 "stdio.h" #include "stm32f429i_discovery.h" #include "stm32f429i_discovery_ts.h" #include "stm32f429i_discovery_io.h" #include "stm32f429i_discovery_lcd.h" #include "stm32f429i_discovery_gyroscope.h" 6 includes#ifdef EE_M24LR64 #include "stm32f429i_discovery_eeprom.h" #endif /*EE_M24LR64*/ Includes /* Exported types ------------------------------------------------------------*/ typedef struct { void (*DemoFunc)(void); uint8_t DemoName[50]; uint32_t DemoIndex; ...}BSP_DemoTypedef; extern const unsigned char stlogo[];Exported types /* Exported constants --------------------------------------------------------*/ /* Exported macro ------------------------------------------------------------*/ #define COUNT_OF_EXAMPLE(x) (sizeof(x)/sizeof(BSP_DemoTypedef)) Exported macro/* Exported functions ------------------------------------------------------- */ void Joystick_demo (void); void Touchscreen_demo (void); void LCD_demo (void); void MEMS_demo (void); void Log_demo(void); #ifdef EE_M24LR64 void EEPROM_demo (void); #endif /*EE_M24LR64*/ void SD_demo (void); void Touchscreen_Calibration (void); uint16_t Calibration_GetX(uint16_t x); uint16_t Calibration_GetY(uint16_t y); uint8_t IsCalibrationDone(void); uint8_t CheckForUserInput(void); void Toggle_Leds(void);Exported functions /* ... */#endif /* __MAIN_H */
Details