CFBD_OLED_DeviceSpecific¶
Module: OLED Display Driver / OLED Device Interface
Device-specific configuration for an OLED panel. More...
#include <device_interface.h>
Public Attributes¶
| Name | |
|---|---|
| uint8_t ()(void) | init_session_tables Optional callback to return initialization command tables. |
| uint8_t ** | grams Array of pointers to GRAM/frame buffers used by the device. |
| uint16_t | init_session_tables_sz Size (in bytes) of the initialization tables returned by init_session_tables. |
| uint8_t | data_prefix Byte prefix to use for data transmissions to the display. |
| uint8_t | cmd_prefix Byte prefix to use for command transmissions to the display. |
| uint16_t | logic_width Logical width of the display in pixels. |
| uint16_t | logic_height Logical height of the display in pixels. |
| const char * | iic_pack_type for package iic |
| void * | private_data oled specified datas |
Detailed Description¶
Device-specific configuration for an OLED panel.
Note: Implementations must ensure that:
- init_session_tables() returns a valid pointer or NULL if no initialization is needed
- grams points to valid frame buffer pointers
- All size and geometry fields are correctly populated
Fields in this structure control how the generic OLED driver initializes and communicates with a specific panel. Implementations should populate init_session_tables and grams with pointers to static data describing the initialization sequence and frame buffers respectively.
Public Attributes Documentation¶
variable init_session_tables¶
Optional callback to return initialization command tables.
The callback should allocate or return a pointer to a contiguous block containing the device initialization sequence bytes. If no initialization sequence is required, this may be NULL.
variable grams¶
Array of pointers to GRAM/frame buffers used by the device.
The driver may expect one or more pointers here depending on the device's memory layout.
variable init_session_tables_sz¶
Size (in bytes) of the initialization tables returned by init_session_tables.
variable data_prefix¶
Byte prefix to use for data transmissions to the display.
variable cmd_prefix¶
Byte prefix to use for command transmissions to the display.
variable logic_width¶
Logical width of the display in pixels.
variable logic_height¶
Logical height of the display in pixels.
variable iic_pack_type¶
for package iic
variable private_data¶
oled specified datas
Updated on 2026-02-03 at 13:21:55 +0000