Exemplo n.º 1
0
/*******************************************************************************
* 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);
}
Exemplo n.º 2
0
/*******************************************************************************
* 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();
}
Exemplo n.º 3
0
/*******************************************************************************
* Function Name: isr_InDMADone_Stop
********************************************************************************
*
* Summary:
*   Disables and removes the interrupt.
*
* Parameters:  
*   None
*
* Return:
*   None
*
*******************************************************************************/
void isr_InDMADone_Stop(void) 
{
    /* Disable this interrupt. */
    isr_InDMADone_Disable();
}