/* This function is used to handle flash write ipc interrupt.  */
IMAGE2_RAM_TEXT_SECTION void FLASH_Write_IPC_Int(VOID *Data, u32 IrqStatus, u32 ChanNum)
/* This function is used to handle flash write ipc interrupt.  */
IMAGE2_RAM_TEXT_SECTION void FLASH_Write_IPC_Int(VOID *Data, u32 IrqStatus, u32 ChanNum)
{
	( void ) Data;
	( void ) IrqStatus;
	( void ) ChanNum;
	if(__get_PRIMASK() == 0) {		asm volatile ("cpsid i" : : : "memory");
		asm volatile ("wfe");
		asm volatile ("wfe");
		asm volatile ("cpsie i" : : : "memory");
	} else {		asm volatile ("wfe");
		asm volatile ("wfe");
	}
}