aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2008-10-20 15:58:33 +0000
committerChristian Starkjohann <cs+github@obdev.at>2008-10-20 15:58:33 +0000
commit0528a42590ec57fb3c18dd1995ddbf577b3ba003 (patch)
tree9edf2bb8eb9e818603f35e6b64ed29f4a352eb17
parentaacf677a758f61f273ab8dff5c8a6a92eee4404a (diff)
downloadv-usb-0528a42590ec57fb3c18dd1995ddbf577b3ba003.tar.gz
v-usb-0528a42590ec57fb3c18dd1995ddbf577b3ba003.tar.bz2
v-usb-0528a42590ec57fb3c18dd1995ddbf577b3ba003.zip
- more precise comment
-rw-r--r--usbdrv/usbconfig-prototype.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usbdrv/usbconfig-prototype.h b/usbdrv/usbconfig-prototype.h
index 19369e0..488d776 100644
--- a/usbdrv/usbconfig-prototype.h
+++ b/usbdrv/usbconfig-prototype.h
@@ -166,8 +166,9 @@ section at the end of this file).
* This macro (if defined) is executed in the assembler module when a
* Start Of Frame condition is detected. It is recommended to define it to
* the name of an assembler macro which is defined here as well so that more
- * than one assembler instruction can be used. The macro may use registers
- * YL and SREG.
+ * than one assembler instruction can be used. The macro may use the register
+ * YL and modify SREG. If it lasts longer than a couple of cycles, USB messages
+ * immediately after an SOF pulse may be lost and must be retried by the host.
* What can you do with this hook? Since the SOF signal occurs exactly every
* 1 ms (unless the host is in sleep mode), you can use it to tune OSCCAL in
* designs running on the internal RC oscillator.