DMA2D_InitStruct.DMA2D_Mode = DMA2D_R2M; // DMA2D->CR DMA2D_InitStruct.DMA2D_CMode = DMA2D_RGB565; // DMA2D->OPFCCR DMA2D_InitStruct.DMA2D_OutputGreen = Green_Value; // DMA2D->OCOLR DMA2D_InitStruct.DMA2D_OutputBlue = Blue_Value; // DMA2D->OCOLR DMA2D_InitStruct.DMA2D_OutputRed = ...