feat(dma2d): Add a rx empty event callback

This commit is contained in:
C.S.M
2025-04-07 13:36:57 +08:00
parent f8b7c14703
commit 05d0fdb7a5
3 changed files with 14 additions and 1 deletions
@@ -344,6 +344,8 @@ typedef struct {
to be still in the middle of a complete transaction (partially done),
you are allowed to configure 2D-DMA channel hardware/descriptor in this
callback, and let the channels start running again */
dma2d_event_callback_t on_desc_empty; /*!< Invoked when the buffer size pointed to by the received linked list
descriptor is less than the length of the data to be received */
} dma2d_rx_event_callbacks_t;
/**