Platform/ECM3532/DSP/hw/csp/ecm3532/src/eta_csp_isr.c
/***************************************************************************/
/**
 *
 *  EtaCspIsrDefaultHandler - Default ISR Handler
 *
 *  @param iIrqNum is the interrupt number.
 *  @param int_line is the DSP interrupt line number.
 *
 ******************************************************************************/
Default ISR Handler
@param iIrqNum is the interrupt number.
@param int_line is the DSP interrupt line number.
Default ISR Handler @param iIrqNum is the interrupt number . @param int_line is the DSP interrupt line number .
void
EtaCspIsrDefaultHandler(tIrqNum iIrqNum, intline_T int_line)
{
    chess_dont_warn_dead(iIrqNum);
    chess_dont_warn_dead(int_line);
    while(ETA_CSP_ISR_DEFAULT_ISR_SPINS_FOREVER)
    {
    }
    if(ETA_CSP_ISR_DEFAULT_ISR_CLEAR_INT)
    {
        EtaCspIsrIntClear(iIrqNum, int_line);
    }
}
void EtaCspIsrDefaultHandler ( tIrqNum iIrqNum , intline_T int_line ) { chess_dont_warn_dead ( iIrqNum ) ; chess_dont_warn_dead ( int_line ) ; while ( ETA_CSP_ISR_DEFAULT_ISR_SPINS_FOREVER ) { } if ( ETA_CSP_ISR_DEFAULT_ISR_CLEAR_INT ) { EtaCspIsrIntClear ( iIrqNum , int_line ) ; } }
EtaCspIsrDefaultHandler - Default ISR Handler
  @param iIrqNum is the interrupt number.
EtaCspIsrDefaultHandler - Default ISR Handler @param iIrqNum is the interrupt number .
// The default (currently) doesn't use iIrqNum or int_line. Tell the // compiler to suppress warnings. // FIXME, what to do in default handler.     __asm__ __volatile__("BKPT // #0"); // If we set this bit, we'll spin forever. Otherwise, we silently drop bad // ISR. // Note that if we don't spin forever, we need to clear the interrupt or // we'll just keep // jumping back into the same ISR.