Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
160
11.14.2.5 #define MM_BIT( x ) (1U<<(x))
Set bit
11.14.2.6 #define MM_ERRCODE( err ) ((MM_ERROR)(err))
Macro to define the returned Error Code of the driver function
11.14.2.7 #define MM_FALSE ((MM_BOOL) 0)
Definition of FALSE for bool types
11.14.2.8 #define MM_IO_IRIS_CORE 0xD0A10000U
Graphics Core Base Address
11.14.2.9 #define MM_IO_IRIS_SUBSYSTEM 0xD0A00000U
Graphics Subsystem Base Address
11.14.2.10 #define MM_MODULEID( moduleId ) ((MM_MODULE)(moduleId))
Macro to define the IDs of the driver modules
11.14.2.11 #define MM_PTR_TO_ADDR( x ) (MM_ADDR)(x)
Conversion: void
∗
to MM_ADDR
11.14.2.12 #define MM_PTR_TO_UINT32( x ) (MM_U32)(x)
Conversion: ’void
∗
’
to ’MM_U32’
11.14.2.13 #define MM_TRUE ((MM_BOOL) 1)
Definition of TRUE for bool types
11.14.2.14 #define MM_UINT32_TO_ADDR( x ) (MM_ADDR)(x)
Conversion: ’MM_U32’ to ’MM_ADDR’
11.14.2.15 #define MM_UINT32_TO_PTR( x ) (void
∗
)(x)
Conversion: ’MM_U32’ to ’void
∗
’
11.14.2.16 #define MMD_ERR MM_ERRCODE(0x7FFFFFFF)
Abnormal termination (kernel space)
11.14.2.17 #define MMD_OK MM_ERRCODE(0x0)
Normal termination (kernel space)
11.14.2.18 #define MML_ERR MM_ERRCODE(0x3FFFFFFF)
Abnormal termination (user space)
11.14.2.19 #define MML_OK MM_ERRCODE(0x0)
Normal termination (user space)
11.14.2.20 #define NULL ((void
∗
)0)
Definition of NULL pointer