Skip to main content

ParallelLcdSettings Class

Package: GHIElectronics.Endpoint.Devices.Display
Namespace: GHIElectronics.Endpoint.Devices.Display

Timings for the SoC's built-in parallel RGB panel controller.

class ParallelLcdSettings: ...

Constructors​

ParallelLcdSettings()​

def __init__(self):

Properties​

BitsPerPixel​

BitsPerPixel: int # @property / @setter

Framebuffer bit depth (16 = RGB565, 24 = RGB888).

Returns int

DataEnablePolarity​

DataEnablePolarity: SignalPolarity # @property / @setter

Polarity of the DE (Data Enable) signal. Most RGB panels want ActiveHigh (DE high while valid pixel data is on the bus); check your panel's datasheet.

Returns SignalPolarity

HBackPorch​

HBackPorch: int # @property / @setter

Horizontal back porch, in pixel clocks.

Returns int

HFrontPorch​

HFrontPorch: int # @property / @setter

Horizontal front porch, in pixel clocks.

Returns int

HSync​

HSync: int # @property / @setter

Horizontal sync pulse width, in pixel clocks.

Returns int

Height​

Height: int # @property / @setter

Visible height in pixels.

Returns int

PixelClockEdge​

PixelClockEdge: ClockEdge # @property / @setter

Which edge of the pixel clock the panel latches data on. The SoC drives data on the opposite edge. Rising is the common default; try Falling if the image looks sheared or torn.

Returns ClockEdge

PixelClockHz​

PixelClockHz: int # @property / @setter

Pixel clock in Hz.

Returns int

VBackPorch​

VBackPorch: int # @property / @setter

Vertical back porch, in lines.

Returns int

VFrontPorch​

VFrontPorch: int # @property / @setter

Vertical front porch, in lines.

Returns int

VSync​

VSync: int # @property / @setter

Vertical sync pulse width, in lines.

Returns int

Width​

Width: int # @property / @setter

Visible width in pixels.

Returns int