uni project

Fork of BSP_DISCO_F746NG by ST

Committer:
valadore
Date:
Wed Mar 29 10:07:34 2017 +0000
Revision:
9:891071f1cf9a
Parent:
6:e1d9da7fe856
updating audio bsp to simultaneous in-out

Who changed what in which revision?

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