return (cfg == 1) ? TRUE : FALSE;
}
-void sudav_isr(void) __interrupt SUDAV_ISR
+void sudav_isr(void) __interrupt(SUDAV_ISR)
{
got_sud = TRUE;
CLEAR_SUDAV();
}
/* IN BULK NAK - the host started requesting data. */
-void ibn_isr(void) __interrupt IBN_ISR
+void ibn_isr(void) __interrupt(IBN_ISR)
{
/*
* If the IBN interrupt is not disabled, clearing
SYNCDELAY();
}
-void usbreset_isr(void) __interrupt USBRESET_ISR
+void usbreset_isr(void) __interrupt(USBRESET_ISR)
{
handle_hispeed(FALSE);
CLEAR_USBRESET();
}
-void hispeed_isr(void) __interrupt HISPEED_ISR
+void hispeed_isr(void) __interrupt(HISPEED_ISR)
{
handle_hispeed(TRUE);
CLEAR_HISPEED();
}
-void timer2_isr(void) __interrupt TF2_ISR
+void timer2_isr(void) __interrupt(TF2_ISR)
{
/* Blink LED during acquisition, keep it on otherwise. */
if (gpif_acquiring == RUNNING) {
extern __code BYTE highspd_dscr;
extern __code BYTE fullspd_dscr;
-void resume_isr(void) __interrupt RESUME_ISR
+void resume_isr(void) __interrupt(RESUME_ISR)
{
CLEAR_RESUME();
}
-void sudav_isr(void) __interrupt SUDAV_ISR
+void sudav_isr(void) __interrupt(SUDAV_ISR)
{
dosud = TRUE;
CLEAR_SUDAV();
}
-void usbreset_isr(void) __interrupt USBRESET_ISR
+void usbreset_isr(void) __interrupt(USBRESET_ISR)
{
handle_hispeed(FALSE);
CLEAR_USBRESET();
}
-void hispeed_isr(void) __interrupt HISPEED_ISR
+void hispeed_isr(void) __interrupt(HISPEED_ISR)
{
handle_hispeed(TRUE);
CLEAR_HISPEED();
}
-void suspend_isr(void) __interrupt SUSPEND_ISR
+void suspend_isr(void) __interrupt(SUSPEND_ISR)
{
dosuspend = TRUE;
CLEAR_SUSPEND();
}
-void timer2_isr(void) __interrupt TF2_ISR
+void timer2_isr(void) __interrupt(TF2_ISR)
{
/* Toggle the probe calibration pin, only accurate up to ca. 8MHz. */
TOGGLE_CALIBRATION_PIN();