EBI_TFTInit_TypeDef Struct Reference

TFT Initialization structure.

#include <em_ebi.h>

Data Fields

EBI_TFTBank_TypeDef bank
External memory bank for driving display.
EBI_TFTWidth_TypeDef width
Width.
EBI_TFTColorSrc_TypeDef colSrc
Color source for masking and alpha blending.
EBI_TFTInterleave_TypeDef interleave
Bus Interleave mode.
EBI_TFTFrameBufTrigger_TypeDef fbTrigger
Trigger for updating frame buffer pointer.
bool shiftDClk
Drive DCLK from negative clock edge of internal clock.
EBI_TFTMaskBlend_TypeDef maskBlend
Masking and alpha blending mode.
EBI_TFTDDMode_TypeDef driveMode
TFT Direct Drive mode.
EBI_Polarity_TypeDef csPolarity
TFT Polarity for Chip Select (CS) Line.
EBI_Polarity_TypeDef dclkPolarity
TFT Polarity for Data Clock (DCLK) Line.
EBI_Polarity_TypeDef dataenPolarity
TFT Polarity for Data Enable (DATAEN) Line.
EBI_Polarity_TypeDef hsyncPolarity
TFT Polarity for Horizontal Sync (HSYNC) Line.
EBI_Polarity_TypeDef vsyncPolarity
TFT Polarity for Vertical Sync (VSYNC) Line.
int hsize
Horizontal size in pixels.
int hPorchFront
Horizontal Front Porch Size.
int hPorchBack
Horizontal Back Porch Size.
int hPulseWidth
Horizontal Synchronization Pulse Width.
int vsize
Vertical size in pixels.
int vPorchFront
Vertical Front Porch Size.
int vPorchBack
Vertical Back Porch Size.
int vPulseWidth
Vertical Synchronization Pulse Width.
uint32_t addressOffset
TFT Frame Buffer address, offset to EBI bank base address.
int dclkPeriod