From 034e562341485b54da3d5636e1145e21567411e8 Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Mon, 25 Jan 2010 13:15:08 +0000 Subject: - fixed comment about interrupt routine attributes --- usbdrv/usbdrv.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usbdrv/usbdrv.h b/usbdrv/usbdrv.h index 769658d..be759c2 100644 --- a/usbdrv/usbdrv.h +++ b/usbdrv/usbdrv.h @@ -105,9 +105,9 @@ interrupt routine. Interrupt latency: The application must ensure that the USB interrupt is not disabled for more than 25 cycles (this is for 12 MHz, faster clocks allow longer latency). -This implies that all interrupt routines must either be declared as "INTERRUPT" -instead of "SIGNAL" (see "avr/signal.h") or that they are written in assembler -with "sei" as the first instruction. +This implies that all interrupt routines must either have the "ISR_NOBLOCK" +attribute set (see "avr/interrupt.h") or be written in assembler with "sei" +as the first instruction. Maximum interrupt duration / CPU cycle consumption: The driver handles all USB communication during the interrupt service -- cgit v1.2.3