OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [CORTEX_STM32L152_IAR/] [system_and_ST_code/] [Common/] [fonts.h] - Blame information for rev 582

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 582 jeremybenn
/**
2
  ******************************************************************************
3
  * @file    fonts.h
4
  * @author  MCD Application Team
5
  * @version V4.4.0RC1
6
  * @date    07/02/2010
7
  * @brief   Header for fonts.c
8
  ******************************************************************************
9
  * @copy
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>&copy; COPYRIGHT 2010 STMicroelectronics</center></h2>
19
  */
20
 
21
/* Define to prevent recursive inclusion -------------------------------------*/
22
#ifndef __FONTS_H
23
#define __FONTS_H
24
 
25
#ifdef __cplusplus
26
 extern "C" {
27
#endif
28
 
29
/* Includes ------------------------------------------------------------------*/
30
#include <stdint.h>
31
 
32
/** @addtogroup Utilities
33
  * @{
34
  */
35
 
36
/** @addtogroup STM32_EVAL
37
  * @{
38
  */
39
 
40
/** @addtogroup Common
41
  * @{
42
  */
43
 
44
/** @addtogroup FONTS
45
  * @{
46
  */
47
 
48
/** @defgroup FONTS_Exported_Types
49
  * @{
50
  */
51
typedef struct _tFont
52
{
53
  const uint16_t *table;
54
  uint16_t Width;
55
  uint16_t Height;
56
 
57
} sFONT;
58
 
59
extern sFONT Font16x24;
60
extern sFONT Font12x12;
61
extern sFONT Font8x12;
62
extern sFONT Font8x8;
63
 
64
/**
65
  * @}
66
  */
67
 
68
/** @defgroup FONTS_Exported_Constants
69
  * @{
70
  */
71
#define LINE(x) ((x) * (((sFONT *)LCD_GetFont())->Height))
72
 
73
/**
74
  * @}
75
  */
76
 
77
/** @defgroup FONTS_Exported_Macros
78
  * @{
79
  */
80
/**
81
  * @}
82
  */
83
 
84
/** @defgroup FONTS_Exported_Functions
85
  * @{
86
  */
87
/**
88
  * @}
89
  */
90
 
91
#ifdef __cplusplus
92
}
93
#endif
94
 
95
#endif /* __FONTS_H */
96
 
97
/**
98
  * @}
99
  */
100
 
101
/**
102
  * @}
103
  */
104
 
105
/**
106
  * @}
107
  */
108
 
109
/**
110
  * @}
111
  */
112
 
113
/**
114
  * @}
115
  */
116
 
117
/******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.