Merge branch 'feat/mipi_dsi_vsync_event' into 'master'

feat(dsi): add vsync interrupt handling

Closes IDF-13503

See merge request espressif/esp-idf!42163
This commit is contained in:
morris
2025-09-29 10:54:58 +08:00
11 changed files with 103 additions and 45 deletions
@@ -15,8 +15,13 @@
#include "hal/config.h"
#define MIPI_DSI_LL_GET_BRG(bus_id) (bus_id == 0 ? &MIPI_DSI_BRIDGE : NULL)
#define MIPI_DSI_LL_EVENT_UNDERRUN (1 << 0)
#define MIPI_DSI_LL_EVENT_VSYNC (1 << 1)
#define MIPI_DSI_BRG_LL_EVENT_UNDERRUN (1 << 0)
#if HAL_CONFIG(CHIP_SUPPORT_MIN_REV) >= 300
#define MIPI_DSI_BRG_LL_EVENT_VSYNC (1 << 1)
#else
#define MIPI_DSI_BRG_LL_EVENT_VSYNC 0 // not supported
#endif
#ifdef __cplusplus
extern "C" {