Skip to content
Snippets Groups Projects
Commit aa7eaeea authored by patacongo's avatar patacongo
Browse files

Add comments

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1000 42af7a65-404d-4744-a932-0658087f49c3
parent a97678e7
No related branches found
No related tags found
No related merge requests found
......@@ -65,12 +65,12 @@
#define EP_DISABLE(ep) (ep)->ops->disable(ep)
/* Allocate/free I/O requests */
/* Allocate/free I/O requests. Should not be called from interrupt processing! */
#define EP_ALLOCREQ(ep) (ep)->ops->allocreq(ep)
#define EP_FREEREQ(ep,req) (ep)->ops->freereq(ep,req)
/* Allocate/free an I/O buffer */
/* Allocate/free an I/O buffer. Should not be called from interrupt processing! */
#ifdef CONFIG_ARCH_USBDEV_DMA
# define EP_ALLOCBUFFER(ep,nb) (ep)->ops->alloc(ep,nb)
......@@ -135,8 +135,9 @@
#define DEV_DISCONNECT(dev) (dev)->ops->pullup ? (dev)->ops->pullup(dev,FALSE) : -EOPNOTSUPP
/* USB Class Driver Helpsers ********************************************************/
/* All may be called from interupt handling logic except bind() and unbind() */
/* Invoked when the driver is bound to a USB device driver */
/* Invoked when the driver is bound to a USB device driver. */
#define CLASS_BIND(drvr,dev) (drvr)->ops->bind(dev, drvr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment