Mercurial > ~darius > hgwebdir.cgi > stm32temp
comparison libs/STM32F10x_StdPeriph_Lib_V3.5.0/Utilities/STM32_EVAL/Common/fonts.h @ 0:c59513fd84fb
Initial commit of STM32 test code.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 03 Oct 2011 21:19:15 +1030 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c59513fd84fb |
---|---|
1 /** | |
2 ****************************************************************************** | |
3 * @file fonts.h | |
4 * @author MCD Application Team | |
5 * @version V4.5.0 | |
6 * @date 07-March-2011 | |
7 * @brief Header for fonts.c | |
8 ****************************************************************************** | |
9 * @attention | |
10 * | |
11 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS | |
12 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE | |
13 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY | |
14 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING | |
15 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE | |
16 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. | |
17 * | |
18 * <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2> | |
19 ****************************************************************************** | |
20 */ | |
21 | |
22 /* Define to prevent recursive inclusion -------------------------------------*/ | |
23 #ifndef __FONTS_H | |
24 #define __FONTS_H | |
25 | |
26 #ifdef __cplusplus | |
27 extern "C" { | |
28 #endif | |
29 | |
30 /* Includes ------------------------------------------------------------------*/ | |
31 #include <stdint.h> | |
32 | |
33 /** @addtogroup Utilities | |
34 * @{ | |
35 */ | |
36 | |
37 /** @addtogroup STM32_EVAL | |
38 * @{ | |
39 */ | |
40 | |
41 /** @addtogroup Common | |
42 * @{ | |
43 */ | |
44 | |
45 /** @addtogroup FONTS | |
46 * @{ | |
47 */ | |
48 | |
49 /** @defgroup FONTS_Exported_Types | |
50 * @{ | |
51 */ | |
52 typedef struct _tFont | |
53 { | |
54 const uint16_t *table; | |
55 uint16_t Width; | |
56 uint16_t Height; | |
57 | |
58 } sFONT; | |
59 | |
60 extern sFONT Font16x24; | |
61 extern sFONT Font12x12; | |
62 extern sFONT Font8x12; | |
63 extern sFONT Font8x8; | |
64 | |
65 /** | |
66 * @} | |
67 */ | |
68 | |
69 /** @defgroup FONTS_Exported_Constants | |
70 * @{ | |
71 */ | |
72 #define LINE(x) ((x) * (((sFONT *)LCD_GetFont())->Height)) | |
73 | |
74 /** | |
75 * @} | |
76 */ | |
77 | |
78 /** @defgroup FONTS_Exported_Macros | |
79 * @{ | |
80 */ | |
81 /** | |
82 * @} | |
83 */ | |
84 | |
85 /** @defgroup FONTS_Exported_Functions | |
86 * @{ | |
87 */ | |
88 /** | |
89 * @} | |
90 */ | |
91 | |
92 #ifdef __cplusplus | |
93 } | |
94 #endif | |
95 | |
96 #endif /* __FONTS_H */ | |
97 | |
98 /** | |
99 * @} | |
100 */ | |
101 | |
102 /** | |
103 * @} | |
104 */ | |
105 | |
106 /** | |
107 * @} | |
108 */ | |
109 | |
110 /** | |
111 * @} | |
112 */ | |
113 | |
114 /** | |
115 * @} | |
116 */ | |
117 | |
118 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ |