forked from len0rd/rockbox
Add support for full and highspeed in stack and drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14492 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
53b183f600
commit
195ef597f5
7 changed files with 121 additions and 85 deletions
|
@ -38,14 +38,14 @@ struct usb_controller {
|
|||
|
||||
struct usb_dcd_controller_ops {
|
||||
/* endpoint management */
|
||||
int (*enable)(struct usb_ep* ep);
|
||||
int (*enable)(struct usb_ep* ep, struct usb_endpoint_descriptor* desc);
|
||||
int (*disable)(struct usb_ep* ep);
|
||||
int (*set_halt)(struct usb_ep* ep, bool hald);
|
||||
|
||||
|
||||
/* transmitting */
|
||||
int (*send)(struct usb_ep* ep, struct usb_response* req);
|
||||
int (*receive)(struct usb_ep* ep, struct usb_response* res);
|
||||
|
||||
|
||||
/* ep0 */
|
||||
struct usb_ep* ep0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue