aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2009-08-03 15:55:51 +0000
committerChristian Starkjohann <cs+github@obdev.at>2009-08-03 15:55:51 +0000
commitb6739c29d91ae840befd6f461699286d5ee04865 (patch)
tree311da52b26a9c91f32026ab974bc951db3b6c7f9
parentc94ddc7e35c7cf8c027e828177cf282ccd56c691 (diff)
downloadv-usb-b6739c29d91ae840befd6f461699286d5ee04865.tar.gz
v-usb-b6739c29d91ae840befd6f461699286d5ee04865.tar.bz2
v-usb-b6739c29d91ae840befd6f461699286d5ee04865.zip
- added comment how USB port pins must be initialized
-rw-r--r--usbdrv/usbdrv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usbdrv/usbdrv.h b/usbdrv/usbdrv.h
index 5b277f9..fd1083e 100644
--- a/usbdrv/usbdrv.h
+++ b/usbdrv/usbdrv.h
@@ -167,7 +167,9 @@ struct usbRequest; /* forward declaration */
USB_PUBLIC void usbInit(void);
/* This function must be called before interrupts are enabled and the main
- * loop is entered.
+ * loop is entered. We exepct that the PORT and DDR bits for D+ and D- have
+ * not been changed from their default status (which is 0). If you have changed
+ * them, set both back to 0 (configure them as input with no internal pull-up).
*/
USB_PUBLIC void usbPoll(void);
/* This function must be called at regular intervals from the main loop.