RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Data Fields
_Font Struct Reference

Describes the font (width, height, supported characters, etc.) used by the LCD driver draw API. More...

#include <lcd_font.h>

Data Fields

uint8_t width
 
uint8_t height
 

Detailed Description

Describes the font (width, height, supported characters, etc.) used by the LCD driver draw API.

Purpose

The font.h files declares a font structure and a LCDD_DrawChar function that must be implemented by a font definition file to be used with the LCDD_DrawString method of draw.h.

The font10x14.c implements the necessary variable and function for a 10x14 font.

Usage

  1. Declare a gFont global variable with the necessary Font information.
  2. Implement an LCDD_DrawChar function which displays the specified character on the LCD.
  3. Use the LCDD_DrawString method defined in draw.h to display a complete string.

The documentation for this struct was generated from the following file: