Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
104
Parameters
in
display
An MML_GDC_DISPLAY returned from a previous call to mmlGdcDispOpenDisplay.
in
format
Defines the number of entries in the array. Depending on the hardware the CLUT hardware
may support not all format types. In this case the driver interpolates the missing or skips the
needless values. S6E2D accepts only MML_GDC_DISP_CLUT_FORMAT_33.
in
pRed
Pointer to array of red values. The size of the array depends on format.
in
pGreen
Pointer to array of green values. The size of the array depends on format.
in
pBlue
Pointer to array of blue values. The size of the array depends on format.
Return values
MML_OK
On success.
MML_ERR_GDC_DISP_INVALID_ARG
If an invalid argument was passed.
11.5.5.3 MM_ERROR mmlGdcDispCommit(MML_GDC_DISPLAY display)
The display related setting modification will not be active immediately. The mmlGdcDispCommit submits these
settings for processing. By default this function is blocked until previous operations of device display are completely
executed. Use mmlGdcConfigSetAttribute(), set MML_GDC_CONFIG_ATTR_DISPLAY_NOBLOCK to 1 to make it
non-blocking.
Parameters
in
display
An MML_GDC_DISPLAY returned from a previous call to mmlGdcDispOpenDisplay().
Return values
MML_OK
On success.
MML_ERR_GDC_DISP_INVALID_ARG
If one of the parameters is invalid.
MML_ERR_GDC_DISP_DEV_BUSY
If the writing to the device display is denied, because
the previous commit, open,
create or destroy call is not completely executed (e.g.
shadow load request is pending). Call again later!