|
PebbleOS v4.47.0-327-g7753e801d
|
Data Structures | |
| struct | pbl_mipi_dbi_ops |
| Driver operations. More... | |
| struct | pbl_mipi_dbi |
| MIPI DBI host. More... | |
Macros | |
| #define | PBL_MIPI_DBI_INIT(sym, _name, _parent, _ops) |
Initializer for the struct pbl_mipi_dbi of host sym. | |
MIPI DCS commands | |
| #define | PBL_MIPI_DCS_SOFT_RESET 0x01U |
| #define | PBL_MIPI_DCS_GET_DISPLAY_ID 0x04U |
| #define | PBL_MIPI_DCS_ENTER_SLEEP_MODE 0x10U |
| #define | PBL_MIPI_DCS_EXIT_SLEEP_MODE 0x11U |
| #define | PBL_MIPI_DCS_SET_DISPLAY_OFF 0x28U |
| #define | PBL_MIPI_DCS_SET_DISPLAY_ON 0x29U |
| #define | PBL_MIPI_DCS_SET_COLUMN_ADDRESS 0x2AU |
| #define | PBL_MIPI_DCS_SET_PAGE_ADDRESS 0x2BU |
| #define | PBL_MIPI_DCS_WRITE_MEMORY_START 0x2CU |
| #define | PBL_MIPI_DCS_SET_TEAR_ON 0x35U |
| #define | PBL_MIPI_DCS_SET_ADDRESS_MODE 0x36U |
| #define | PBL_MIPI_DCS_SET_PIXEL_FORMAT 0x3AU |
| #define | PBL_MIPI_DCS_SET_DISPLAY_BRIGHTNESS 0x51U |
| #define | PBL_MIPI_DCS_WRITE_CONTROL_DISPLAY 0x53U |
Functions | |
| static int | pbl_mipi_dbi_command_write (const struct pbl_mipi_dbi *dbi, uint8_t cmd, const uint8_t *data, size_t len) |
| Send a command to the panel. | |
| static int | pbl_mipi_dbi_command_read (const struct pbl_mipi_dbi *dbi, uint8_t cmd, uint8_t *data, size_t len) |
| Send a command to the panel and read its answer. | |
Variables | |
| const struct pbl_device_class | pbl_mipi_dbi_class |
| Class of the MIPI DBI hosts. | |