Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
80
mmlGdcDispCommit
mmlGdcDispWinCommit
If this attribute is 0 (default), the function will block the CPU until it can be executed. If this attribute is not 0, the
function will return immediately in that case with error MML_ERR_GDC_DISP_DEV_BUSY. It is up to the
application to handle this case and reschedule the function call later.
Note:
The application can also use the synchronization API to find out if the previous reconfiguration is finished.
MML_GDC_CONFIG_ATTR_BUILD_TYPE
Returns the build type of the driver. The returned values can be ’d’ for debug version of driver ’r’ for release
version of driver ’p’ for production version of driver This is a read only attribute. Setting this attribute will result in
error.
11.3.2 Function Documentation
11.3.2.1 MM_ERROR mmlGdcConfigGetAttribute(MML_GDC_CONFIG_ATTR pname, MM_U32
∗
pParam)
Gets the current value of a graphics library attribute. See MML_GDC_CONFIG_ATTR for a list of attributes.
Parameters
in
pname
Name of the attribute to get. See MML_GDC_CONFIG_ATTR
out
pParam
Address where the read value of the attribute is stored
Return values
MML_OK
on success
MML_ERR_GDC_CONFIG_INVALID_PARAMETER
if pname is invalid
MML_ERR_GDC_CONFIG_INTERNAL_ERROR
if value could not be retrieved
11.3.2.2 MM_ERROR mmlGdcConfigSetAttribute(MML_GDC_CONFIG_ATTR pname, MM_U32
param)
Sets a graphics library attribute. See MML_GDC_CONFIG_ATTR for a list of attributes.
Parameters
in
pname
Name of the attribute to set. See MML_GDC_CONFIG_ATTR
in
param
Value to set for the attribute
Return values
MML_OK
on success
MML_ERR_GDC_CONFIG_INVALID_PARAMETER
if a parameter is invalid
MML_ERR_GDC_CONFIG_INTERNAL_ERROR
if value could not be set