/******************************************************************************* * Function Name: isr_InDMADone_Stop ******************************************************************************** * * Summary: * Disables and removes the interrupt. * * Parameters: * * Return: * None * *******************************************************************************/ void isr_InDMADone_Stop(void) { /* Disable this interrupt. */ isr_InDMADone_Disable(); /* Set the ISR to point to the passive one. */ isr_InDMADone_SetVector(&IntDefaultHandler); }
/******************************************************************************* * Function Name: isr_InDMADone_StartEx ******************************************************************************** * * Summary: * Set up the interrupt and enable it. * * Parameters: * address: Address of the ISR to set in the interrupt vector table. * * Return: * None * *******************************************************************************/ void isr_InDMADone_StartEx(cyisraddress address) { /* For all we know the interrupt is active. */ isr_InDMADone_Disable(); /* Set the ISR to point to the isr_InDMADone Interrupt. */ isr_InDMADone_SetVector(address); /* Set the priority. */ isr_InDMADone_SetPriority((uint8)isr_InDMADone_INTC_PRIOR_NUMBER); /* Enable it. */ isr_InDMADone_Enable(); }