PebbleOS
Loading...
Searching...
No Matches
Data Structures | Functions
SF32LB JDI display

Display implementation for JDI memory-in-pixel panels driven by the SF32LB LCD controller. More...

Data Structures

struct  DisplayJDISplash
 Splash image. More...
 
struct  DisplayJDIDevice
 JDI display device. More...
 
struct  DisplayJDIDevice.vcom
 VCOM inversion signal generation. More...
 
struct  DisplayJDIDevice.pinmux
 Panel interface pins. More...
 

Functions

void display_jdi_irq_handler (DisplayJDIDevice *disp)
 LCD controller interrupt handler.
 
void display_jdi_test_drop_next_complete (void)
 Drop the next LCD transfer-complete interrupt.
 

Detailed Description

Display implementation for JDI memory-in-pixel panels driven by the SF32LB LCD controller.


Data Structure Documentation

◆ DisplayJDISplash

struct DisplayJDISplash

Splash image.

Data Fields
const uint8_t * data Image data.
uint16_t height Height in pixels.
uint16_t width Width in pixels.

◆ DisplayJDIDevice

struct DisplayJDIDevice

JDI display device.

Data Fields
IRQn_Type irqn LCD controller interrupt.
struct DisplayJDIDevice.pinmux pinmux Panel interface pins.
DisplayJDISplash splash Splash image; not used by the driver.
DisplayJDIState * state Driver runtime state.
struct DisplayJDIDevice.vcom vcom VCOM inversion signal generation.
OutputConfig vddp Panel VDDP supply enable.
OutputConfig vlcd Panel VLCD supply enable.

◆ DisplayJDIDevice.vcom

struct DisplayJDIDevice.vcom

VCOM inversion signal generation.

Data Fields
uint8_t freq_hz Signal frequency in Hz.
LPTIM_TypeDef * lptim Low-power timer generating the signal.

◆ DisplayJDIDevice.pinmux

struct DisplayJDIDevice.pinmux

Panel interface pins.

Data Fields
Pinmux b1 Blue data, odd pixels.
Pinmux b2 Blue data, even pixels.
Pinmux enb Write enable (ENB).
Pinmux g1 Green data, odd pixels.
Pinmux g2 Green data, even pixels.
Pinmux hck Horizontal clock (HCK).
Pinmux hst Horizontal start (HST).
Pinmux r1 Red data, odd pixels.
Pinmux r2 Red data, even pixels.
Pinmux vck Vertical clock (VCK).
Pinmux vcom_frp VCOM / FRP signal.
Pinmux vst Vertical start (VST).
Pinmux xfrp Inverted FRP signal (XFRP).
Pinmux xrst Reset (XRST).

Function Documentation

◆ display_jdi_irq_handler()

void display_jdi_irq_handler ( DisplayJDIDevice *  disp)

LCD controller interrupt handler.

Parameters
dispDisplay device.

◆ display_jdi_test_drop_next_complete()

void display_jdi_test_drop_next_complete ( void  )

Drop the next LCD transfer-complete interrupt.

Test hook simulating a lost completion. The silent-loss timer then fires about 500 ms later and crashes the system, producing a coredump. Not available in release builds.