Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
77
11.2 Driver Initialization API
The Driver Initialization API exposes functions to initialize and un initialize the driver.
Data Structures
struct MML_GDC_SYSINIT_INFO
Macros
#define GFX_PLL_MIN 20000000U
#define GFX_PLL_MAX 415000000U
Functions
MM_ERROR mmlGdcSysInitializeDriver (MML_GDC_SYSINIT_INFO
∗
pDriverInitInfo)
MM_ERROR mmlGdcSysUninitializeDriver (void)
MM_ERROR mmlGdcSysSetInstructionBuffer (void
∗
address, MM_U32 size)
Default initializer
#define MML_GDC_SYSINIT_INITIALIZER
Resource names
#define MM_GDC_RES_DISP0 (1U << 0U)
#define MM_GDC_RES_LAYER0 (1U << 1U)
#define MM_GDC_RES_LAYER1 (1U << 2U)
#define MM_GDC_RES_FETCH_DECODE0 (1U << 3U)
#define MM_GDC_RES_FETCH_LAYER0 (1U << 4U)
11.2.1 Detailed Description
The Driver Initialization API exposes functions to initialize and un initialize the driver.
#include "mml_gdc_sysinit.h"
11.2.2 Macro Definition Documentation
11.2.2.1 #define GFX_PLL_MAX 415000000U
maximum GFX PLL 415 MHz
11.2.2.2 #define GFX_PLL_MIN 20000000U
Allowed PLL frequency range minimum GFX PLL 20 MHz
11.2.2.3 #define MML_GDC_SYSINIT_INITIALIZER
Value:
{ \
0U, /* no safety driver */ \
320000000U /* GFX PLL 320 MHz */ \
}