Interface for LCD panel displays.
More...
|
| enum | display_frame_layer_t { DISPLAY_FRAME_LAYER_1 = 0,
DISPLAY_FRAME_LAYER_2 = 1
} |
| |
| enum | display_state_t { DISPLAY_STATE_CLOSED = 0,
DISPLAY_STATE_OPENED = 1,
DISPLAY_STATE_DISPLAYING = 2
} |
| |
| enum | display_event_t { DISPLAY_EVENT_GR1_UNDERFLOW = 1,
DISPLAY_EVENT_GR2_UNDERFLOW = 2,
DISPLAY_EVENT_LINE_DETECTION = 3
} |
| |
| enum | display_in_format_t {
DISPLAY_IN_FORMAT_32BITS_ARGB8888 = 0,
DISPLAY_IN_FORMAT_32BITS_RGB888 = 1,
DISPLAY_IN_FORMAT_16BITS_RGB565 = 2,
DISPLAY_IN_FORMAT_16BITS_ARGB1555 = 3,
DISPLAY_IN_FORMAT_16BITS_ARGB4444 = 4,
DISPLAY_IN_FORMAT_CLUT8 = 5,
DISPLAY_IN_FORMAT_CLUT4 = 6,
DISPLAY_IN_FORMAT_CLUT1 = 7
} |
| |
| enum | display_out_format_t { DISPLAY_OUT_FORMAT_24BITS_RGB888,
DISPLAY_OUT_FORMAT_18BITS_RGB666,
DISPLAY_OUT_FORMAT_16BITS_RGB565,
DISPLAY_OUT_FORMAT_8BITS_SERIAL
} |
| |
| enum | display_endian_t { DISPLAY_ENDIAN_LITTLE,
DISPLAY_ENDIAN_BIG
} |
| |
| enum | display_color_order_t { DISPLAY_COLOR_ORDER_RGB,
DISPLAY_COLOR_ORDER_BGR
} |
| |
| enum | display_signal_polarity_t { DISPLAY_SIGNAL_POLARITY_LOACTIVE,
DISPLAY_SIGNAL_POLARITY_HIACTIVE
} |
| |
| enum | display_sync_edge_t { DISPLAY_SIGNAL_SYNC_EDGE_RISING,
DISPLAY_SIGNAL_SYNC_EDGE_FALLING
} |
| |
| enum | display_fade_control_t { DISPLAY_FADE_CONTROL_NONE,
DISPLAY_FADE_CONTROL_FADEIN,
DISPLAY_FADE_CONTROL_FADEOUT
} |
| |
| enum | display_fade_status_t { DISPLAY_FADE_STATUS_NOT_UNDERWAY,
DISPLAY_FADE_STATUS_FADING_UNDERWAY,
DISPLAY_FADE_STATUS_UNCERTAIN
} |
| |
Interface for LCD panel displays.
Summary
The display interface provides standard display functionality:
- Signal timing configuration for LCD panels with RGB interface.
- Dot clock source selection (internal or external) and frequency divider.
- Blending of multiple graphics layers on the background screen.
- Color correction (brightness/configuration/gamma correction).
- Interrupts and callback function.
Implemented by: GLCDC
Related SSP architecture topics:
Display Interface description: Display Driver
◆ display_ctrl_t
Display control block. Allocate an instance specific control block to pass into the display API calls.
- Implemented as
- glcd_instance_ctrl_tDisplay control block
◆ display_color_order_t
RGB color order select
| Enumerator |
|---|
| DISPLAY_COLOR_ORDER_RGB | Color order RGB.
|
| DISPLAY_COLOR_ORDER_BGR | Color order BGR.
|
◆ display_endian_t
Data endian select
| Enumerator |
|---|
| DISPLAY_ENDIAN_LITTLE | Little-endian.
|
| DISPLAY_ENDIAN_BIG | Big-endian.
|
◆ display_event_t
Display event codes
| Enumerator |
|---|
| DISPLAY_EVENT_GR1_UNDERFLOW | Graphics frame1 underflow occurs.
|
| DISPLAY_EVENT_GR2_UNDERFLOW | Graphics frame2 underflow occurs.
|
| DISPLAY_EVENT_LINE_DETECTION | Designated line is processed.
|
◆ display_fade_control_t
Fading control
| Enumerator |
|---|
| DISPLAY_FADE_CONTROL_NONE | Applying no fading control.
|
| DISPLAY_FADE_CONTROL_FADEIN | Applying fade-in control.
|
| DISPLAY_FADE_CONTROL_FADEOUT | Applying fade-out control.
|
◆ display_fade_status_t
Fading status
| Enumerator |
|---|
| DISPLAY_FADE_STATUS_NOT_UNDERWAY | Fade-in/fade-out is not in progress.
|
| DISPLAY_FADE_STATUS_FADING_UNDERWAY | Fade-in or fade-out is in progress.
|
| DISPLAY_FADE_STATUS_UNCERTAIN | Fade-in/fade-out status is uncertain just before hardware working.
|
◆ display_frame_layer_t
Display frame number
| Enumerator |
|---|
| DISPLAY_FRAME_LAYER_1 | Frame layer 1.
|
| DISPLAY_FRAME_LAYER_2 | Frame layer 2.
|
◆ display_in_format_t
Input format setting
| Enumerator |
|---|
| DISPLAY_IN_FORMAT_32BITS_ARGB8888 | ARGB8888, 32 bits.
|
| DISPLAY_IN_FORMAT_32BITS_RGB888 | RGB888, 32 bits.
|
| DISPLAY_IN_FORMAT_16BITS_RGB565 | RGB565, 16 bits.
|
| DISPLAY_IN_FORMAT_16BITS_ARGB1555 | ARGB1555, 16 bits.
|
| DISPLAY_IN_FORMAT_16BITS_ARGB4444 | ARGB4444, 16 bits.
|
| DISPLAY_IN_FORMAT_CLUT8 | CLUT8.
|
| DISPLAY_IN_FORMAT_CLUT4 | CLUT4.
|
| DISPLAY_IN_FORMAT_CLUT1 | CLUT1.
|
◆ display_out_format_t
Output format setting
| Enumerator |
|---|
| DISPLAY_OUT_FORMAT_24BITS_RGB888 | RGB888, 24 bits.
|
| DISPLAY_OUT_FORMAT_18BITS_RGB666 | RGB666, 18 bits.
|
| DISPLAY_OUT_FORMAT_16BITS_RGB565 | RGB565, 16 bits.
|
| DISPLAY_OUT_FORMAT_8BITS_SERIAL | SERIAL, 8 bits.
|
◆ display_signal_polarity_t
Polarity of a signal select
| Enumerator |
|---|
| DISPLAY_SIGNAL_POLARITY_LOACTIVE | Low active signal.
|
| DISPLAY_SIGNAL_POLARITY_HIACTIVE | High active signal.
|
◆ display_state_t
Display interface operation state
| Enumerator |
|---|
| DISPLAY_STATE_CLOSED | Display closed.
|
| DISPLAY_STATE_OPENED | Display opened.
|
| DISPLAY_STATE_DISPLAYING | Displaying.
|
◆ display_sync_edge_t
Signal synchronization edge select
| Enumerator |
|---|
| DISPLAY_SIGNAL_SYNC_EDGE_RISING | Signal is synchronized to rising edge.
|
| DISPLAY_SIGNAL_SYNC_EDGE_FALLING | Signal is synchronized to falling edge.
|