lcd_font.h

来自「基于MMA7260QR2的跌落检查程序」· C头文件 代码 · 共 54 行

H
54
字号
/*****************************************************************************
* LCD_BitMap_Char declarations.
*
* (c) Copyright 2008, Freescale, Inc. All rights reserved.
*
*
* No part of this document must be reproduced in any form - including copied,
* transcribed, printed or by any electronic means - without specific written
* permission from Freescale Semiconductor.
*
*****************************************************************************/

#ifndef _LCD_FONT_H_
#define _LCD_FONT_H_

/*****************************************************************************
******************************************************************************
* Public type declarations
******************************************************************************
*****************************************************************************/

/* Type definition of a font set */
typedef struct 
{
  const uint16_t* pFontIndexTable;
  const uint8_t*  pFontCharTable;
  uint8_t         fontHeight;
} font_t;

/*****************************************************************************
******************************************************************************
* Public macros
******************************************************************************
*****************************************************************************/

/*****************************************************************************
******************************************************************************
* Private prototypes
******************************************************************************
*****************************************************************************/

/*****************************************************************************
******************************************************************************
* Public memory declarations
******************************************************************************
*****************************************************************************/

extern const uint16_t gLCDNormalIndex[];
extern const uint8_t  gLCDNormalFont[];
extern const uint16_t gLCDVerdanaIndex[];
extern const uint8_t  gLCDVerdanaFont[];

#endif /* _LCD_FONT_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?