feat(dsi): add mipi dsi driver to esp_lcd
This commit is contained in:
@@ -5,13 +5,28 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "hal/lcd_types.h"
|
||||
#include "esp_assert.h"
|
||||
#include "hal/lcd_types.h"
|
||||
#include "hal/mipi_dsi_types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Timing parameters for the video data transmission
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t h_size; /*!< Horizontal resolution, i.e. the number of pixels in a line */
|
||||
uint32_t v_size; /*!< Vertical resolution, i.e. the number of lines in the frame */
|
||||
uint32_t hsync_pulse_width; /*!< Horizontal sync width, in pixel clock */
|
||||
uint32_t hsync_back_porch; /*!< Horizontal back porch, number of pixel clock between hsync and start of line active data */
|
||||
uint32_t hsync_front_porch; /*!< Horizontal front porch, number of pixel clock between the end of active data and the next hsync */
|
||||
uint32_t vsync_pulse_width; /*!< Vertical sync width, in number of lines */
|
||||
uint32_t vsync_back_porch; /*!< Vertical back porch, number of invalid lines between vsync and start of frame */
|
||||
uint32_t vsync_front_porch; /*!< Vertical front porch, number of invalid lines between the end of frame and the next vsync */
|
||||
} esp_lcd_video_timing_t;
|
||||
|
||||
typedef struct esp_lcd_panel_io_t *esp_lcd_panel_io_handle_t; /*!< Type of LCD panel IO handle */
|
||||
typedef struct esp_lcd_panel_t *esp_lcd_panel_handle_t; /*!< Type of LCD panel handle */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user