|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Main header file for MIPI-DSI (Display Serial Interface) driver API. More...
#include <errno.h>#include <sys/types.h>#include <zephyr/device.h>#include <zephyr/display/mipi_display.h>#include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h>Go to the source code of this file.
Data Structures | |
| struct | mipi_dsi_timings |
| MIPI-DSI display timings. More... | |
| struct | mipi_dsi_device |
| MIPI-DSI device. More... | |
| struct | mipi_dsi_msg |
| MIPI-DSI read/write message. More... | |
| struct | mipi_dsi_driver_api |
| MIPI-DSI host driver API. More... | |
Macros | |
| #define | MIPI_DSI_MSG_USE_LPM BIT(0x0) |
MIPI-DSI Device mode flags. | |
| #define | MIPI_DSI_MODE_VIDEO BIT(0) |
| Video mode. | |
| #define | MIPI_DSI_MODE_VIDEO_BURST BIT(1) |
| Video burst mode. | |
| #define | MIPI_DSI_MODE_VIDEO_SYNC_PULSE BIT(2) |
| Video pulse mode. | |
| #define | MIPI_DSI_MODE_VIDEO_AUTO_VERT BIT(3) |
| Enable auto vertical count mode. | |
| #define | MIPI_DSI_MODE_VIDEO_HSE BIT(4) |
| Enable hsync-end packets in vsync-pulse and v-porch area. | |
| #define | MIPI_DSI_MODE_VIDEO_HFP BIT(5) |
| Disable hfront-porch area. | |
| #define | MIPI_DSI_MODE_VIDEO_HBP BIT(6) |
| Disable hback-porch area. | |
| #define | MIPI_DSI_MODE_VIDEO_HSA BIT(7) |
| Disable hsync-active area. | |
| #define | MIPI_DSI_MODE_VSYNC_FLUSH BIT(8) |
| Flush display FIFO on vsync pulse. | |
| #define | MIPI_DSI_MODE_EOT_PACKET BIT(9) |
| Disable EoT packets in HS mode. | |
| #define | MIPI_DSI_CLOCK_NON_CONTINUOUS BIT(10) |
| Device supports non-continuous clock behavior (DSI spec 5.6.1) | |
| #define | MIPI_DSI_MODE_LPM BIT(11) |
| Transmit data in low power. | |
Functions | |
| static int | mipi_dsi_attach (const struct device *dev, uint8_t channel, const struct mipi_dsi_device *mdev) |
| Attach a new device to the MIPI-DSI bus. | |
| static ssize_t | mipi_dsi_transfer (const struct device *dev, uint8_t channel, struct mipi_dsi_msg *msg) |
| Transfer data to/from a device attached to the MIPI-DSI bus. | |
| ssize_t | mipi_dsi_generic_read (const struct device *dev, uint8_t channel, const void *params, size_t nparams, void *buf, size_t len) |
| MIPI-DSI generic read. | |
| ssize_t | mipi_dsi_generic_write (const struct device *dev, uint8_t channel, const void *buf, size_t len) |
| MIPI-DSI generic write. | |
| ssize_t | mipi_dsi_dcs_read (const struct device *dev, uint8_t channel, uint8_t cmd, void *buf, size_t len) |
| MIPI-DSI DCS read. | |
| ssize_t | mipi_dsi_dcs_write (const struct device *dev, uint8_t channel, uint8_t cmd, const void *buf, size_t len) |
| MIPI-DSI DCS write. | |
| static int | mipi_dsi_detach (const struct device *dev, uint8_t channel, const struct mipi_dsi_device *mdev) |
| Detach a device from the MIPI-DSI bus. | |
Main header file for MIPI-DSI (Display Serial Interface) driver API.