Fork of SSD1289 lib for Landtiger board

Embed: (wiki syntax)

« Back to documentation index

ssd1289.h File Reference

ssd1289.h File Reference

mbed TFT LCD library for displays with the SSD1289 LCD controller. More...

Go to the source code of this file.

Data Structures

class  SSD1289
 Represents a LCD instance. More...

Typedefs

typedef enum Orientation_enum orientation_t
 Display orientation.
typedef enum Alignment_enum align_t
 Horizontal text alignment on the line.
typedef struct Font_struct font_metrics_t
 Describes fonts and their properties.
typedef unsigned short * bitmap_t
 Pointer to the start of a block of pixel data, describing a picture.

Enumerations

enum  Orientation_enum { PORTRAIT = 0, LANDSCAPE = 1 }
enum  Alignment_enum { LEFT = 0, CENTER = 9998, RIGHT = 9999 }

Detailed Description

mbed TFT LCD library for displays with the SSD1289 LCD controller.

A known display with this type of controller chip is the ITDB02-3.2S from http://imall.iteadstudio.com

This library is based on the Arduino/chipKIT UTFT library by Henning Karlsen, http://henningkarlsen.com/electronics/library.php?id=52

Copyright (C)2010-2012 Henning Karlsen. All right reserved. Copyright (C)2012 Todor Todorov.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to:

Free Software Foundation, Inc. 51 Franklin St, 5th Floor, Boston, MA 02110-1301, USA

Definition in file ssd1289.h.


Typedef Documentation

Horizontal text alignment on the line.

Pointer to the start of a block of pixel data, describing a picture.

Definition at line 102 of file ssd1289.h.

Describes fonts and their properties.

See also:
Comments in fonts.h

Display orientation.


Enumeration Type Documentation

Enumerator:
LEFT 

Left-oriented, naturally gravitate closer to the left edge of the screen.

CENTER 

Center-oriented, try to fit in the middle of the available space with equal free space to the left and right of the text.

RIGHT 

Right-oriented, naturally gravitate closer to the right edge of the screen, leaving any remaining free space to the left of the text.

Definition at line 79 of file ssd1289.h.

Enumerator:
PORTRAIT 

Display height is bigger than its width.

LANDSCAPE 

Display width is bigger than its height.

Definition at line 70 of file ssd1289.h.