The green line is Pin 0x24.It will be high while interrupt are masked.If interrupt not becomes pending before unmasked(I read NVICISPR3 register),It will be set low.And it also be cleared in the end of ICU interrupt.
The yellow line is Pin 0x84.It will be high in the begining of ICU interrupt and be low in the ending of interrupt.
The blue point indicates interrupt loss.At the same time,the green line indicates interrupt
not becomes pending while interrupt be masked.

Code:
volatile uint32 setflag=0;
for(;;)
{
__asm volatile
(
"cpsid i \n"
);
Dio_WriteChannel(0x24,1);
for(i=0;i<300;i++)
{;}
setflag=REG_READ32(NVIC_BASEADDR+0x10C);
if(setflag==0)
Dio_WriteChannel(0x24,0);
__asm volatile
(
"cpsie i \n"
);
for(i=0;i<5900;i++)
{;}
INTERRUPT Code:
ISR(FTM_0_CH_0_CH_1_ISR)
{
Dio_WriteChannel(0x83,1);
/** @violates @ref FTM_COMMON_C_REF_1 Cast from unsigned int to pointer */
CONST(uint32, MCL_CONST) u32IsrStatus = REG_READ32(FTM_STATUS_ADDR32(FTM_0));
if ((u32IsrStatus & FTM_CH_0_MASK_U32) == FTM_CH_0_MASK_U32)
{
#if (defined GPT_FTM_0_CH_0_CH_1_ISR_USED)
Gpt_Ftm_ProcessCommonInterrupt((uint8)FTM_0_CH_0);
#endif
#if (defined PWM_FTM_0_CH_0_CH_1_ISR_USED)
Pwm_Ftm_ProcessCommonInterrupt((uint8)FTM_0_CH_0);
#endif
#if (defined ICU_FTM_0_CH_0_CH_1_ISR_USED)
Icu_Ftm_ProcessInterrupt((uint8)FTM_0_CH_0);
#endif
#if (defined OCU_FTM_0_CH_0_CH_1_ISR_USED)
Ocu_Ftm_ProcessCommonInterrupt((uint8)FTM_0_CH_0);
#endif
}
if ((u32IsrStatus & FTM_CH_1_MASK_U32) == FTM_CH_1_MASK_U32)
{
#if (defined GPT_FTM_0_CH_0_CH_1_ISR_USED)
Gpt_Ftm_ProcessCommonInterrupt((uint8)FTM_0_CH_1);
#endif
#if (defined PWM_FTM_0_CH_0_CH_1_ISR_USED)
Pwm_Ftm_ProcessCommonInterrupt((uint8)FTM_0_CH_1);
#endif
#if (defined ICU_FTM_0_CH_0_CH_1_ISR_USED)
Icu_Ftm_ProcessInterrupt((uint8)FTM_0_CH_1);
#endif
#if (defined OCU_FTM_0_CH_0_CH_1_ISR_USED)
Ocu_Ftm_ProcessCommonInterrupt((uint8)FTM_0_CH_1);
#endif
}
EXIT_INTERRUPT();
Dio_WriteChannel(0x83,0);
Dio_WriteChannel(0x24,0);
}