
Display Driver
4
Display Driver
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
API Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.1
Introduction
The display driver offers a standard interface to access display functions on the CrystalFontz 96x64
16-bit color OLED display and is used by the Stellaris Graphics Library and widget manager. In
addition to providing the
tDisplay
structure required by the graphics library, the display driver
also provides an API for initializing the display.
This driver is located in
examples/boards/ek-lm4f232/drivers
, with
cfal96x64x16.c
containing the source code and
cfal96x64x16.h
containing the API declarations for use by ap-
plications.
4.2
API Functions
Functions
void
CFAL96x64x16Init
(void)
Variables
const tDisplay
g_sCFAL96x64x16
4.2.1
Function Documentation
4.2.1.1
CFAL96x64x16Init
Initializes the display driver.
Prototype:
void
CFAL96x64x16Init(void)
Description:
This function initializes the SSD1332 display controller on the panel, preparing it to display
data.
Returns:
None.
February 22, 2017
19