TI-RTOS Drivers  tidrivers_full_2_20_00_08
Data Fields
tDisplayFxns Struct Reference

This structure defines the implementation of a display driver. More...

#include <grlib.h>

Data Fields

void(* pfnPixelDraw )(tDisplay *pDisplay, int16_t lX, int16_t lY, uint16_t ulValue)
 A pointer to the function to draw a pixel on this display. More...
 
void(* pfnPixelDrawMultiple )(tDisplay *pDisplay, int16_t lX, int16_t lY, int16_t lX0, int16_t lCount, int16_t lBPP, const uint8_t *pucData, const uint16_t *pucPalette)
 A pointer to the function to draw multiple pixels on this display. More...
 
void(* pfnLineDrawH )(tDisplay *pDisplay, int16_t lX1, int16_t lX2, int16_t lY, uint16_t ulValue)
 A pointer to the function to draw a horizontal line on this display. More...
 
void(* pfnLineDrawV )(tDisplay *pDisplay, int16_t lX, int16_t lY1, int16_t lY2, uint16_t ulValue)
 A pointer to the function to draw a vertical line on this display. More...
 
void(* pfnRectFill )(tDisplay *pDisplay, const tRectangle *pRect, uint16_t ulValue)
 A pointer to the function to draw a filled rectangle on this display. More...
 
uint16_t(* pfnColorTranslate )(tDisplay *pDisplay, uint32_t ulValue)
 
void(* pfnFlush )(tDisplay *pDisplay)
 
void(* pfnClearDisplay )(tDisplay *pDisplay, uint16_t ulValue)
 

Detailed Description

This structure defines the implementation of a display driver.

Field Documentation

void(* tDisplayFxns::pfnPixelDraw) (tDisplay *pDisplay, int16_t lX, int16_t lY, uint16_t ulValue)

A pointer to the function to draw a pixel on this display.

void(* tDisplayFxns::pfnPixelDrawMultiple) (tDisplay *pDisplay, int16_t lX, int16_t lY, int16_t lX0, int16_t lCount, int16_t lBPP, const uint8_t *pucData, const uint16_t *pucPalette)

A pointer to the function to draw multiple pixels on this display.

void(* tDisplayFxns::pfnLineDrawH) (tDisplay *pDisplay, int16_t lX1, int16_t lX2, int16_t lY, uint16_t ulValue)

A pointer to the function to draw a horizontal line on this display.

void(* tDisplayFxns::pfnLineDrawV) (tDisplay *pDisplay, int16_t lX, int16_t lY1, int16_t lY2, uint16_t ulValue)

A pointer to the function to draw a vertical line on this display.

void(* tDisplayFxns::pfnRectFill) (tDisplay *pDisplay, const tRectangle *pRect, uint16_t ulValue)

A pointer to the function to draw a filled rectangle on this display.

uint16_t(* tDisplayFxns::pfnColorTranslate) (tDisplay *pDisplay, uint32_t ulValue)

A pointer to the function to translate 24-bit RGB colors to display-specific colors.

void(* tDisplayFxns::pfnFlush) (tDisplay *pDisplay)

A pointer to the function to flush any cached drawing operations on this display.

void(* tDisplayFxns::pfnClearDisplay) (tDisplay *pDisplay, uint16_t ulValue)

A pointer to the function to clears Display. Contents of display buffer unmodified


The documentation for this struct was generated from the following file:
Copyright 2016, Texas Instruments Incorporated