HAL DMA2D How to Use

group DMA2D_How_To_Use

How to use the DMA2D HAL module driver

The DMA2D HAL driver can be used as follows:

For DMA2D transfer:

For DMA2D CLUT Loading:

Callback registration

When the compilation flag USE_HAL_DMA2D_REGISTER_CALLBACKS is set to 1, use Functions HAL_DMA2D_RegisterXxxCallback() to register an interrupt callback.

When the compilation flag is set to 0 or not defined, the callback registration feature is not available and all callbacks are set to the corresponding weak functions.