20. G2d_r2m_abort

20.1. Function description:

This demo shows the function of Aborting the conversion.

Convert the ARGB8888 color to RGB565 output with G2D register-to-memory conversion Mode:

  • Configure the G2D register-to-memory conversion mode.

  • Configure the G2D foreground layer and start transfer.

  • After transfer half to abort G2D, and G2D will stop transfer, the transfer enable flag also be cleared by hardware automatically.

20.2. Test result:

After aborting the G2D, if G2D stop transformation, then print pass, if not print fail.

20.3. IO connection:

None