No changes made

Fork of BSP_DISCO_F746NG by ST

Committer:
Jerome Coutant
Date:
Thu Jul 06 16:58:50 2017 +0200
Revision:
10:df2ea349c37a
Parent:
7:e1d9da7fe856
replace HAL_Delay by wait_ms

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bcostm 7:e1d9da7fe856 1 /**
bcostm 7:e1d9da7fe856 2 ******************************************************************************
bcostm 7:e1d9da7fe856 3 * @file fonts.h
bcostm 7:e1d9da7fe856 4 * @author MCD Application Team
bcostm 7:e1d9da7fe856 5 * @version V1.0.0
bcostm 7:e1d9da7fe856 6 * @date 18-February-2014
bcostm 7:e1d9da7fe856 7 * @brief Header for fonts.c file
bcostm 7:e1d9da7fe856 8 ******************************************************************************
bcostm 7:e1d9da7fe856 9 * @attention
bcostm 7:e1d9da7fe856 10 *
bcostm 7:e1d9da7fe856 11 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
bcostm 7:e1d9da7fe856 12 *
bcostm 7:e1d9da7fe856 13 * Redistribution and use in source and binary forms, with or without modification,
bcostm 7:e1d9da7fe856 14 * are permitted provided that the following conditions are met:
bcostm 7:e1d9da7fe856 15 * 1. Redistributions of source code must retain the above copyright notice,
bcostm 7:e1d9da7fe856 16 * this list of conditions and the following disclaimer.
bcostm 7:e1d9da7fe856 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
bcostm 7:e1d9da7fe856 18 * this list of conditions and the following disclaimer in the documentation
bcostm 7:e1d9da7fe856 19 * and/or other materials provided with the distribution.
bcostm 7:e1d9da7fe856 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
bcostm 7:e1d9da7fe856 21 * may be used to endorse or promote products derived from this software
bcostm 7:e1d9da7fe856 22 * without specific prior written permission.
bcostm 7:e1d9da7fe856 23 *
bcostm 7:e1d9da7fe856 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
bcostm 7:e1d9da7fe856 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
bcostm 7:e1d9da7fe856 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
bcostm 7:e1d9da7fe856 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
bcostm 7:e1d9da7fe856 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
bcostm 7:e1d9da7fe856 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
bcostm 7:e1d9da7fe856 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
bcostm 7:e1d9da7fe856 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
bcostm 7:e1d9da7fe856 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
bcostm 7:e1d9da7fe856 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bcostm 7:e1d9da7fe856 34 *
bcostm 7:e1d9da7fe856 35 ******************************************************************************
bcostm 7:e1d9da7fe856 36 */
bcostm 7:e1d9da7fe856 37
bcostm 7:e1d9da7fe856 38 /* Define to prevent recursive inclusion -------------------------------------*/
bcostm 7:e1d9da7fe856 39 #ifndef __FONTS_H
bcostm 7:e1d9da7fe856 40 #define __FONTS_H
bcostm 7:e1d9da7fe856 41
bcostm 7:e1d9da7fe856 42 #ifdef __cplusplus
bcostm 7:e1d9da7fe856 43 extern "C" {
bcostm 7:e1d9da7fe856 44 #endif
bcostm 7:e1d9da7fe856 45
bcostm 7:e1d9da7fe856 46 /* Includes ------------------------------------------------------------------*/
bcostm 7:e1d9da7fe856 47 #include <stdint.h>
bcostm 7:e1d9da7fe856 48
bcostm 7:e1d9da7fe856 49 /** @addtogroup Utilities
bcostm 7:e1d9da7fe856 50 * @{
bcostm 7:e1d9da7fe856 51 */
bcostm 7:e1d9da7fe856 52
bcostm 7:e1d9da7fe856 53 /** @addtogroup STM32_EVAL
bcostm 7:e1d9da7fe856 54 * @{
bcostm 7:e1d9da7fe856 55 */
bcostm 7:e1d9da7fe856 56
bcostm 7:e1d9da7fe856 57 /** @addtogroup Common
bcostm 7:e1d9da7fe856 58 * @{
bcostm 7:e1d9da7fe856 59 */
bcostm 7:e1d9da7fe856 60
bcostm 7:e1d9da7fe856 61 /** @addtogroup FONTS
bcostm 7:e1d9da7fe856 62 * @{
bcostm 7:e1d9da7fe856 63 */
bcostm 7:e1d9da7fe856 64
bcostm 7:e1d9da7fe856 65 /** @defgroup FONTS_Exported_Types
bcostm 7:e1d9da7fe856 66 * @{
bcostm 7:e1d9da7fe856 67 */
bcostm 7:e1d9da7fe856 68 typedef struct _tFont
bcostm 7:e1d9da7fe856 69 {
bcostm 7:e1d9da7fe856 70 const uint8_t *table;
bcostm 7:e1d9da7fe856 71 uint16_t Width;
bcostm 7:e1d9da7fe856 72 uint16_t Height;
bcostm 7:e1d9da7fe856 73
bcostm 7:e1d9da7fe856 74 } sFONT;
bcostm 7:e1d9da7fe856 75
bcostm 7:e1d9da7fe856 76 extern sFONT Font24;
bcostm 7:e1d9da7fe856 77 extern sFONT Font20;
bcostm 7:e1d9da7fe856 78 extern sFONT Font16;
bcostm 7:e1d9da7fe856 79 extern sFONT Font12;
bcostm 7:e1d9da7fe856 80 extern sFONT Font8;
bcostm 7:e1d9da7fe856 81 /**
bcostm 7:e1d9da7fe856 82 * @}
bcostm 7:e1d9da7fe856 83 */
bcostm 7:e1d9da7fe856 84
bcostm 7:e1d9da7fe856 85 /** @defgroup FONTS_Exported_Constants
bcostm 7:e1d9da7fe856 86 * @{
bcostm 7:e1d9da7fe856 87 */
bcostm 7:e1d9da7fe856 88 #define LINE(x) ((x) * (((sFONT *)BSP_LCD_GetFont())->Height))
bcostm 7:e1d9da7fe856 89
bcostm 7:e1d9da7fe856 90 /**
bcostm 7:e1d9da7fe856 91 * @}
bcostm 7:e1d9da7fe856 92 */
bcostm 7:e1d9da7fe856 93
bcostm 7:e1d9da7fe856 94 /** @defgroup FONTS_Exported_Macros
bcostm 7:e1d9da7fe856 95 * @{
bcostm 7:e1d9da7fe856 96 */
bcostm 7:e1d9da7fe856 97 /**
bcostm 7:e1d9da7fe856 98 * @}
bcostm 7:e1d9da7fe856 99 */
bcostm 7:e1d9da7fe856 100
bcostm 7:e1d9da7fe856 101 /** @defgroup FONTS_Exported_Functions
bcostm 7:e1d9da7fe856 102 * @{
bcostm 7:e1d9da7fe856 103 */
bcostm 7:e1d9da7fe856 104 /**
bcostm 7:e1d9da7fe856 105 * @}
bcostm 7:e1d9da7fe856 106 */
bcostm 7:e1d9da7fe856 107
bcostm 7:e1d9da7fe856 108 #ifdef __cplusplus
bcostm 7:e1d9da7fe856 109 }
bcostm 7:e1d9da7fe856 110 #endif
bcostm 7:e1d9da7fe856 111
bcostm 7:e1d9da7fe856 112 #endif /* __FONTS_H */
bcostm 7:e1d9da7fe856 113
bcostm 7:e1d9da7fe856 114 /**
bcostm 7:e1d9da7fe856 115 * @}
bcostm 7:e1d9da7fe856 116 */
bcostm 7:e1d9da7fe856 117
bcostm 7:e1d9da7fe856 118 /**
bcostm 7:e1d9da7fe856 119 * @}
bcostm 7:e1d9da7fe856 120 */
bcostm 7:e1d9da7fe856 121
bcostm 7:e1d9da7fe856 122 /**
bcostm 7:e1d9da7fe856 123 * @}
bcostm 7:e1d9da7fe856 124 */
bcostm 7:e1d9da7fe856 125
bcostm 7:e1d9da7fe856 126 /**
bcostm 7:e1d9da7fe856 127 * @}
bcostm 7:e1d9da7fe856 128 */
bcostm 7:e1d9da7fe856 129
bcostm 7:e1d9da7fe856 130 /**
bcostm 7:e1d9da7fe856 131 * @}
bcostm 7:e1d9da7fe856 132 */
bcostm 7:e1d9da7fe856 133
bcostm 7:e1d9da7fe856 134 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/