Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
136
11.7.3 Function Documentation
11.7.3.1 MM_ERROR mmlGdcSyncIncr ( MML_GDC_SYNC sync, MM_S32 incr )
Increments the sync count for sync object sync. This way a sync object can be used to wait for last sync con
incr. This must only be used for sync sources that increment the sync counter in a known fashion (e.g., display
controller VSync)!
Parameters
in
sync
Sync object for which to increment the sync counter.
in
incr
Sync counter increment. Parameter must be -32768 <= incr <= 32767.
Return values
MML_OK
Success.
MML_ERR_GDC_SYNC_INVALID
Sync object not valid.
MML_ERR_GDC_SYNC_INVALID_PARAMETER
Invalid parameter.
11.7.3.2 MM_ERROR mmlGdcSyncReset ( MML_GDC_SYNC sync )
Reset all parameters of the sync object.
Parameters
in,out
sync
The sync object.
Return values
MML_OK
On success. Otherwise the related error code.
11.7.3.3 MM_ERROR mmlGdcSyncWait ( MML_GDC_SYNC sync, MM_S32 timeout )
Waits for a sync object to be signaled.
Parameters
in
sync
Sync object to wait for getting signaled.
in
timeout
This parameter MUST be 0 for S6E2D.
Return values
MML_OK
Success.
MML_ERR_GDC_SYNC_INVALID_PARAMETER
Invalid parameter.
MML_ERR_GDC_SYNC_INVALID
Sync object not valid.
MML_ERR_GDC_SYNC_TIMEOUT
Sync object is not signaled.