Graphics Driver Manual for 2D core of S6E2D devices Download

Transcript
A P P L I C A T I O N
−
−
−
−
−
−
−
11.9.1
N O T E
#define MM_ERP_MODULE_ID_GDC_CARD_USER
#define MM_ERP_MODULE_ID_GDC_CONFIG_USER
#define MM_ERP_MODULE_ID_GDC_SYSINIT_USER
#define MM_ERP_MODULE_ID_GDC_CMDSEQ_USER
#define MM_ERP_MODULE_ID_GDC_PIXENG_USER
#define MM_ERP_MODULE_ID_GDC_ERP_USER
#define MM_ERP_MODULE_ID_GDC_SERVICE_USER
MM_MODULEID(0x21006000U)
MM_MODULEID(0x21007000U)
MM_MODULEID(0x21008000U)
MM_MODULEID(0x21009000U)
MM_MODULEID(0x2100B000U)
MM_MODULEID(0x2100D000U)
MM_MODULEID(0x2100E000U)
Detailed Description
Error Reporting API - Error Reporting for selected modules and level. The module Ids of this driver.
#include
"mml_gdc_erp.h"
The Error-Reporting API provides functions to report errors, warnings and infos. The modules that are
covered can be specified.
The user has the options to select the level of messages for selectable modules
(mmlGdcErpSetMessageLevel), to select the channel of messages (mmlGdcErpSetMessageChannel).
When using channel MM_ERP_CH_STDOUT the configuration of the print function by mmlGdcErpSetPrintf
is necessary.
When using channel MM_ERP_CH_BUFFER the configuration of the buffer by mmlGdcErpSetBuffer is
necessary.
Note:
−
Error reporting is only available in Debug and Release configuration! In Production configuration this
functionality is switched OFF.
#include
"mm_gdc_module_id.h"
The module ids are used to en-/disable message logging for certain modules of the driver. Wildcards can be
used to en-/disable messages for all modules of the driver.
For details see mmlGdcErpSetMessageLevel
11.9.2 Macro Definition Documentation
11.9.2.1 #define MM_ERP_MODULE_ID_GDC_ALL_USER
MM_MODULEID(0x2100FFFFU)
Wildcard for all modules of basic graphics driver
11.9.2.2 #define MM_ERP_MODULE_ID_GDC_CARD_USER
MM_MODULEID(0x21006000U)
Card (HW access)
11.9.2.3 #define MM_ERP_MODULE_ID_GDC_CMDSEQ_USER
MM_MODULEID(0x21009000U)
Command Sequencer
146
CONFIDENTIAL
S6E2DH_AN709-00022-1v0-E, September 11, 2015