Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
144
11.9.5 Function Documentation
11.9.5.1 MM_ERROR mmlGdcErpSetBuffer ( MM_ADDR bufferAddr, MM_U32 bufferSize )
Set the parameter for a buffer, that is used as a channel for error messages.
Parameters
in
bufferAddr
Address of the provided buffer
in
bufferSize
Size (in Bytes) of the provided buffer.
Return values
MML_OK
Normal termination.
MML_ERR_ERP_INVALID_PARAMETER
An invalid value is set in an argument.
11.9.5.2 MM_ERROR mmlGdcErpSetMessageChannel ( MM_ERP_MESSAGE_DEST dest,
MM_ERP_MESSAGE_CHANNEL_PROP prop )
Set channel for error messages. By default only MM_ERP_CH_STDOUT is ON.
Note:
MM_ERP_CH_STDOUT and MM_ERP_CH_BUFFER can be en-/disabled. independently.
Parameters
in
dest
Message channel selection:
MM_ERP_CH_STDOUT Messages are routed to stdout.
MM_ERP_CH_BUFFER Messages are routed to a buffer.
in
prop
Setting of specified message channel:
MM_ERP_CH_OFF Set message channel OFF.
MM_ERP_CH_ON Set message channel ON.
Return values
MML_OK
Normal termination.
MML_ERR_ERP_INVALID_PARAMETER
An invalid value is set in an argument.