SAMV71 Xplained Ultra Software Package 1.4

Font Struct Reference

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

#include <D:/git/git_canopus_1/softpack/samv7/libraries/libboard_samv7-ek/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.

Definition at line 74 of file lcd_font.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines