TFT Initialization structure.

Public Attributes#

External memory bank for driving display.

Color source for masking and alpha blending.

Trigger for updating frame buffer pointer.

bool

Drive DCLK from negative clock edge of internal clock.

Masking and alpha blending mode.

TFT Direct Drive mode.

TFT Polarity for Chip Select (CS) Line.

TFT Polarity for Data Clock (DCLK) Line.

TFT Polarity for Data Enable (DATAEN) Line.

TFT Polarity for Horizontal Sync (HSYNC) Line.

TFT Polarity for Vertical Sync (VSYNC) Line.

int

Horizontal size in pixels.

int

Horizontal Front Porch Size.

int

Horizontal Back Porch Size.

int

Horizontal Synchronization Pulse Width.

int

Vertical size in pixels.

int

Vertical Front Porch Size.

int

Vertical Back Porch Size.

int

Vertical Synchronization Pulse Width.

uint32_t

TFT Frame Buffer address, offset to EBI bank base address.

int

TFT DCLK period in internal cycles.

int

Starting position of External Direct Drive relative to DCLK inactive edge.

int

Number of cycles RGB data is driven before active edge of DCLK.

int

Number of cycles RGB data is held after active edge of DCLK.

Public Attribute Documentation#

bank#

EBI_TFTBank_TypeDef EBI_TFTInit_TypeDef::bank

External memory bank for driving display.


Definition at line 585 of file platform/emlib/inc/em_ebi.h

width#

EBI_TFTWidth_TypeDef EBI_TFTInit_TypeDef::width

Width.


Definition at line 587 of file platform/emlib/inc/em_ebi.h

colSrc#

EBI_TFTColorSrc_TypeDef EBI_TFTInit_TypeDef::colSrc

Color source for masking and alpha blending.


Definition at line 589 of file platform/emlib/inc/em_ebi.h

interleave#

EBI_TFTInterleave_TypeDef EBI_TFTInit_TypeDef::interleave

Bus Interleave mode.


Definition at line 591 of file platform/emlib/inc/em_ebi.h

fbTrigger#

EBI_TFTFrameBufTrigger_TypeDef EBI_TFTInit_TypeDef::fbTrigger

Trigger for updating frame buffer pointer.


Definition at line 593 of file platform/emlib/inc/em_ebi.h

shiftDClk#

bool EBI_TFTInit_TypeDef::shiftDClk

Drive DCLK from negative clock edge of internal clock.


Definition at line 595 of file platform/emlib/inc/em_ebi.h

maskBlend#

EBI_TFTMaskBlend_TypeDef EBI_TFTInit_TypeDef::maskBlend

Masking and alpha blending mode.


Definition at line 597 of file platform/emlib/inc/em_ebi.h

driveMode#

EBI_TFTDDMode_TypeDef EBI_TFTInit_TypeDef::driveMode

TFT Direct Drive mode.


Definition at line 599 of file platform/emlib/inc/em_ebi.h

csPolarity#

EBI_Polarity_TypeDef EBI_TFTInit_TypeDef::csPolarity

TFT Polarity for Chip Select (CS) Line.


Definition at line 601 of file platform/emlib/inc/em_ebi.h

dclkPolarity#

EBI_Polarity_TypeDef EBI_TFTInit_TypeDef::dclkPolarity

TFT Polarity for Data Clock (DCLK) Line.


Definition at line 603 of file platform/emlib/inc/em_ebi.h

dataenPolarity#

EBI_Polarity_TypeDef EBI_TFTInit_TypeDef::dataenPolarity

TFT Polarity for Data Enable (DATAEN) Line.


Definition at line 605 of file platform/emlib/inc/em_ebi.h

hsyncPolarity#

EBI_Polarity_TypeDef EBI_TFTInit_TypeDef::hsyncPolarity

TFT Polarity for Horizontal Sync (HSYNC) Line.


Definition at line 607 of file platform/emlib/inc/em_ebi.h

vsyncPolarity#

EBI_Polarity_TypeDef EBI_TFTInit_TypeDef::vsyncPolarity

TFT Polarity for Vertical Sync (VSYNC) Line.


Definition at line 609 of file platform/emlib/inc/em_ebi.h

hsize#

int EBI_TFTInit_TypeDef::hsize

Horizontal size in pixels.


Definition at line 611 of file platform/emlib/inc/em_ebi.h

hPorchFront#

int EBI_TFTInit_TypeDef::hPorchFront

Horizontal Front Porch Size.


Definition at line 613 of file platform/emlib/inc/em_ebi.h

hPorchBack#

int EBI_TFTInit_TypeDef::hPorchBack

Horizontal Back Porch Size.


Definition at line 615 of file platform/emlib/inc/em_ebi.h

hPulseWidth#

int EBI_TFTInit_TypeDef::hPulseWidth

Horizontal Synchronization Pulse Width.


Definition at line 617 of file platform/emlib/inc/em_ebi.h

vsize#

int EBI_TFTInit_TypeDef::vsize

Vertical size in pixels.


Definition at line 619 of file platform/emlib/inc/em_ebi.h

vPorchFront#

int EBI_TFTInit_TypeDef::vPorchFront

Vertical Front Porch Size.


Definition at line 621 of file platform/emlib/inc/em_ebi.h

vPorchBack#

int EBI_TFTInit_TypeDef::vPorchBack

Vertical Back Porch Size.


Definition at line 623 of file platform/emlib/inc/em_ebi.h

vPulseWidth#

int EBI_TFTInit_TypeDef::vPulseWidth

Vertical Synchronization Pulse Width.


Definition at line 625 of file platform/emlib/inc/em_ebi.h

addressOffset#

uint32_t EBI_TFTInit_TypeDef::addressOffset

TFT Frame Buffer address, offset to EBI bank base address.


Definition at line 627 of file platform/emlib/inc/em_ebi.h

dclkPeriod#

int EBI_TFTInit_TypeDef::dclkPeriod

TFT DCLK period in internal cycles.


Definition at line 629 of file platform/emlib/inc/em_ebi.h

startPosition#

int EBI_TFTInit_TypeDef::startPosition

Starting position of External Direct Drive relative to DCLK inactive edge.


Definition at line 631 of file platform/emlib/inc/em_ebi.h

setupCycles#

int EBI_TFTInit_TypeDef::setupCycles

Number of cycles RGB data is driven before active edge of DCLK.


Definition at line 633 of file platform/emlib/inc/em_ebi.h

holdCycles#

int EBI_TFTInit_TypeDef::holdCycles

Number of cycles RGB data is held after active edge of DCLK.


Definition at line 635 of file platform/emlib/inc/em_ebi.h