Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
137
11.8 2D Core Interrupt Controller API
2D Core Interrupt Controller handler functions
Macros
#define MM_GDC_IRIS_INT_STORE9_FRAMECOMPLETE_IRQ_CP 1U
#define MM_GDC_IRIS_INT_EXTDST0_FRAMECOMPLETE_IRQ_CP 4U
#define MM_GDC_IRIS_INT_DISENGCFG_FRAMECOMPLETE0_IRQ_CP 10U
#define MM_GDC_IRIS_INT_CMDSEQ_ERROR_IRQ_CP 20U
#define MM_GDC_IRIS_INT_FRAMEGEN0_SECSYNC_ON_IRQ_CP 27U
#define MM_GDC_IRIS_INT_FRAMEGEN0_SECSYNC_OFF_IRQ_CP 28U
Interrupt signal irqs
These can be used in mmdGdcInterruptRegisterHandler
#define MM_GDC_IRIS_STORE9_FRAMECOMPLETE_IRQ ((MM_U64)1 <<
MM_GDC_IRIS_INT_STORE9_FRAMECOMPLETE_IRQ_CP)
#define MM_GDC_IRIS_EXTDST0_FRAMECOMPLETE_IRQ ((MM_U64)1 <<
MM_GDC_IRIS_INT_EXTDST0_FRAMECOMPLETE_IRQ_CP)
#define MM_GDC_IRIS_DISENGCFG_FRAMECOMPLETE0_IRQ ((MM_U64)1 <<
MM_GDC_IRIS_INT_DISENGCFG_FRAMECOMPLETE0_IRQ_CP)
#define MM_GDC_IRIS_CMDSEQ_ERROR_IRQ ((MM_U64)1 <<
MM_GDC_IRIS_INT_CMDSEQ_ERROR_IRQ_CP)
#define MM_GDC_IRIS_FRAMEGEN0_SECSYNC_ON_IRQ ((MM_U64)1 <<
MM_GDC_IRIS_INT_FRAMEGEN0_SECSYNC_ON_IRQ_CP)
#define MM_GDC_IRIS_FRAMEGEN0_SECSYNC_OFF_IRQ ((MM_U64)1 <<
MM_GDC_IRIS_INT_FRAMEGEN0_SECSYNC_OFF_IRQ_CP)
Interrupt Operations Functions
void mmdGdcInterruptHandler (void)
Interrupt Handler Function.
MM_ERROR mmdGdcInterruptRegisterHandler (MM_U64 irq, void(
∗
pHandler)(MM_U64 intrrpt))
Set an application defined interrupt handler function.
11.8.1.1 Detailed Description
2D Core Interrupt Controller handler functions
#include "mmd_gdc_interrupthandler.h"
The interrupt controller API provides all required functions to handle 2D core interrupts.
Note:
The 2D core interrupts are required for the 2D Core Graphics Driver. Therefore it is required that all 2D core IRQ
lines connected to the ARM core are enabled and linked to the mmdGdcInterruptHandler function provided by this
interface. The 2D Core Driver will take care that the interrupt sources are reset.
Optionally it is possible for an application to register a callback function for dedicated 2D core interrupts using
mmdGdcInterruptRegisterHandler. In this case the driver will call the function after clearing the interrupt status.