aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2010-01-25 13:15:08 +0000
committerChristian Starkjohann <cs+github@obdev.at>2010-01-25 13:15:08 +0000
commit034e562341485b54da3d5636e1145e21567411e8 (patch)
tree2b7a0ff4334b2943394dd1dfb1b91d3037097da7
parentb3804fef62e38257c077100762230d6c0f400270 (diff)
downloadv-usb-034e562341485b54da3d5636e1145e21567411e8.tar.gz
v-usb-034e562341485b54da3d5636e1145e21567411e8.tar.bz2
v-usb-034e562341485b54da3d5636e1145e21567411e8.zip
- fixed comment about interrupt routine attributes
-rw-r--r--usbdrv/usbdrv.h6
1 files 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