19. G2d_r2m

19.1. Function description:

This demo shows the G2D Register-to-Memory conversion Mode.

Convert the ARGB8888 color to RGB565 output:

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

  • Configure the G2D foreground layer and start transfer.

  • After the transfer completion, compare the output data with the golden data.

19.2. Test result:

If the output result is same as the standard data calculated by software, then print pass, if not print fail.

19.3. IO connection:

None