Select one of the symbols to view example projects that use it.
 
Outline
#define __MAIN_H
Includes
#include "stm32f4xx_ll_bus.h"
#include "stm32f4xx_ll_rcc.h"
#include "stm32f4xx_ll_system.h"
#include "stm32f4xx_ll_utils.h"
#include "stm32f4xx_ll_gpio.h"
#include "stm32f4xx_ll_dma2d.h"
#include "stm32f4xx_ll_pwr.h"
#include "stm32_assert.h"
Exported constants
#define LED1_PIN
#define LED1_GPIO_PORT
#define LED1_GPIO_CLK_ENABLE
#define LED_BLINK_FAST
#define LED_BLINK_SLOW
#define LED_BLINK_ERROR
#define LAYER_SIZE_X
#define LAYER_SIZE_Y
#define LAYER_NB_BYTES_PER_PIXEL
Files
loading...
CodeScopeSTM32 Libraries and SamplesDMA2D_MemoryToMemoryInc/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
65
66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file Examples_LL/DMA2D/DMA2D_MemoryToMemory/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_ll_bus.h" #include "stm32f4xx_ll_rcc.h" #include "stm32f4xx_ll_system.h" #include "stm32f4xx_ll_utils.h" #include "stm32f4xx_ll_gpio.h" #include "stm32f4xx_ll_dma2d.h" #include "stm32f4xx_ll_pwr.h" 7 includes#if defined(USE_FULL_ASSERT) #include "stm32_assert.h" #endif /* USE_FULL_ASSERT */ Includes /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /** * @brief LED1 *//* ... */ #define LED1_PIN LL_GPIO_PIN_0 #define LED1_GPIO_PORT GPIOB #define LED1_GPIO_CLK_ENABLE() LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_GPIOB) /** * @brief Toggle periods for various blinking modes *//* ... */ #define LED_BLINK_FAST 200 #define LED_BLINK_SLOW 500 #define LED_BLINK_ERROR 1000 /** * @brief Input buffer parameters *//* ... */ #define LAYER_SIZE_X 16 #define LAYER_SIZE_Y 32 #define LAYER_NB_BYTES_PER_PIXEL 2 /* because ARGB4444 format in input texture */ 9 defines Exported constants/* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ /* ... */ #endif /* __MAIN_H */