Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
93
Layer feature request
#define MML_GDC_DISP_FEATURE_INDEX_COLOR (1 << 0)
#define MML_GDC_DISP_FEATURE_DECODE (1 << 1)
#define MML_GDC_DISP_FEATURE_MULTI_LAYER (1 << 7)
Buffer target
#define MML_GDC_DISP_BUFF_TARGET_COLOR_BUFF (1 << 1)
Blend modes
#define MML_GDC_DISP_BLEND_NONE (0)
#define MML_GDC_DISP_BLEND_TRANSPARENCY (1U << 0)
#define MML_GDC_DISP_BLEND_GLOBAL_ALPHA (1U << 1)
#define MML_GDC_DISP_BLEND_SOURCE_ALPHA (1U << 2)
#define MML_GDC_DISP_BLEND_SOURCE_MULTIPLY_ALPHA (1U << 4)
Polarity control.
#define MML_GDC_DISP_HSYNC_LOW (0)
#define MML_GDC_DISP_HSYNC_HIGH (1U << 0)
#define MML_GDC_DISP_VSYNC_LOW (0)
#define MML_GDC_DISP_VSYNC_HIGH (1U << 1)
#define MML_GDC_DISP_DE_LOW (0)
#define MML_GDC_DISP_DE_HIGH (1U << 2)
#define MML_GDC_DISP_RGB_LOW (0)
#define MML_GDC_DISP_RGB_HIGH (1U << 3)
Default initializer
#define MML_GDC_DISP_PROPERTIES_INITIALIZER
#define MML_GDC_DISP_WINDOW_PROPERTIES_INITIALIZER
Display Functions
MM_ERROR mmlGdcDispOpenDisplay (MML_GDC_DISP_PROPERTIES *mode, MML_GDC_DISPLAY
*display)
MM_ERROR mmlGdcDispCloseDisplay (MML_GDC_DISPLAY display)
MM_ERROR mmlGdcDispDitherCtrl (MML_GDC_DISPLAY display, MML_GDC_DISP_DITHER_ENABLE
enable, MML_GDC_DISP_DITHER_MODE mode, MML_GDC_DISP_DITHER_RANGE range,
MML_GDC_DISP_DITHER_FORMAT format)
MM_ERROR mmlGdcDispCLUTData (MML_GDC_DISPLAY display, MML_GDC_DISP_CLUT_FORMAT
format, const MM_S16 *pRed, const MM_S16
∗
pGreen, const MM_S16 *pBlue)
MM_ERROR mmlGdcDispSyncVSync (MML_GDC_DISPLAY display, MML_GDC_SYNC sync, MM_S32
vsyncCnt)
MM_ERROR mmlGdcDispSetAttribute (MML_GDC_DISPLAY display, MML_GDC_DISP_ATTR pname,
MM_U32 param)
MM_ERROR mmlGdcDispGetAttribute (MML_GDC_DISPLAY display, MML_GDC_DISP_ATTR pname,
MM_U32 *pParam)
MM_ERROR mmlGdcDispCommit (MML_GDC_DISPLAY display)