FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *
A
229
13. File Documentation
13.1 flash_resource.h File Reference
Include this file before the definition of a bitmap.
13.1.1 Detailed Description
Include this file before the definition of a bitmap.
13.2 mm_defines.h File Reference
Common macro definitions for all modules.
#include "mm_types.h"
Macros
#define MM_ERRCODE(err) ((MM_ERROR)(err))
#define MM_MODULEID(moduleId) ((MM_MODULE)(moduleId))
#define MML_ERR MM_ERRCODE(0x3FFFFFFF)
#define MMD_ERR MM_ERRCODE(0x7FFFFFFF)
#define MML_OK MM_ERRCODE(0x0)
#define MMD_OK MM_ERRCODE(0x0)
#define MM_FALSE ((MM_BOOL) 0)
#define MM_TRUE ((MM_BOOL) 1)
#define NULL ((void
∗
)0)
#define MM_BIT(x) (1U<<(x))
#define MM_PTR_TO_ADDR(x) (MM_ADDR)(x)
#define MM_ADDR_TO_PTR(x) (void
∗
)(x)
#define MM_ADDR_TO_UINT32(x) (MM_U32)(x)
#define MM_UINT32_TO_ADDR(x) (MM_ADDR)(x)
#define MM_PTR_TO_UINT32(x) (MM_U32)(x)
#define MM_UINT32_TO_PTR(x) (void
∗
)(x)
#define MM_ADDR_TO_UINT32PTR(x) (MM_U32
∗
)(x)
#define MM_ADDR_TO_SINT32PTR(x) (MM_S32
∗
)(x)
#define MM_IO_IRIS_SUBSYSTEM 0xD0A00000U
#define MM_IO_IRIS_CORE 0xD0A10000U
#define NULL_FUNCTION ((void) 0)