BSP
Select one of the symbols to view example projects that use it.
 
Outline
#define __ANIME_H
#define BPP_ARGB8888
#define BPP_RGB888
#define BPP_RGB565
#define BPP_ARGB1555
#define BPP_ARGB4444
#define BPP_L8
#define BPP_AL44
#define BPP_AL88
#define BPP_L4
#define BPP_A8
#define BPP_A4
Exported types
anime_object_t
Files
loading...
CodeScopeSTM32 Libraries and SamplesBSPInc/anime.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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file BSP/Inc/anime.h * @author MCD Application Team * @brief This file contains graphics definitions for animation control. ****************************************************************************** * @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 __ANIME_H #define __ANIME_H #define BPP_ARGB8888 0 #define BPP_RGB888 1 #define BPP_RGB565 2 #define BPP_ARGB1555 3 #define BPP_ARGB4444 4 #define BPP_L8 5 #define BPP_AL44 6 #define BPP_AL88 7 #define BPP_L4 8 #define BPP_A8 9 #define BPP_A4 10 12 defines /* Exported types ------------------------------------------------------------*/ typedef struct { uint32_t* address; // Object address uint8_t bpp; // Object bpp (coded as per DMA2D) uint16_t size_x; // X position uint16_t size_y; // Y position uint32_t clut_address;// CLUT address uint32_t clut_size; // CLUT size uint8_t animation; // Animation pointer incremented at each call ...} anime_object_t; Exported types /* ... */#endif /* __ANIME_H */