mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
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:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user