Go to the source code of this file.
|
| int EXPRT | musb_open (MUSB_INTERFACE **musb_interface, int vendor, int product, int instance, int configuration, int usbinterface) |
| |
| int EXPRT | musb_close (MUSB_INTERFACE *musb_interface) |
| |
| int EXPRT | musb_write (MUSB_INTERFACE *musb_interface, int endpoint, const void *buf, int count, int timeout_ms) |
| |
| int EXPRT | musb_read (MUSB_INTERFACE *musb_interface, int endpoint, void *buf, int count, int timeout_ms) |
| |
| int EXPRT | musb_reset (MUSB_INTERFACE *musb_interface) |
| |
| int EXPRT | musb_set_altinterface (MUSB_INTERFACE *musb_interface, int index) |
| |
| int EXPRT | musb_get_device (MUSB_INTERFACE *musb_interface) |
| |
◆ EXPRT
◆ MUSB_ACCESS_ERROR
| #define MUSB_ACCESS_ERROR 5 |
◆ MUSB_INVALID_PARAM
| #define MUSB_INVALID_PARAM 3 |
◆ MUSB_NO_MEM
◆ MUSB_NOT_FOUND
◆ MUSB_SUCCESS
◆ musb_close()
| int EXPRT musb_close |
( |
MUSB_INTERFACE * |
musb_interface | ) |
|
◆ musb_get_device()
| int EXPRT musb_get_device |
( |
MUSB_INTERFACE * |
musb_interface | ) |
|
◆ musb_open()
| int EXPRT musb_open |
( |
MUSB_INTERFACE ** |
musb_interface, |
|
|
int |
vendor, |
|
|
int |
product, |
|
|
int |
instance, |
|
|
int |
configuration, |
|
|
int |
usbinterface |
|
) |
| |
◆ musb_read()
| int EXPRT musb_read |
( |
MUSB_INTERFACE * |
musb_interface, |
|
|
int |
endpoint, |
|
|
void * |
buf, |
|
|
int |
count, |
|
|
int |
timeout_ms |
|
) |
| |
◆ musb_reset()
| int EXPRT musb_reset |
( |
MUSB_INTERFACE * |
musb_interface | ) |
|
◆ musb_set_altinterface()
| int EXPRT musb_set_altinterface |
( |
MUSB_INTERFACE * |
musb_interface, |
|
|
int |
index |
|
) |
| |
◆ musb_write()
| int EXPRT musb_write |
( |
MUSB_INTERFACE * |
musb_interface, |
|
|
int |
endpoint, |
|
|
const void * |
buf, |
|
|
int |
count, |
|
|
int |
timeout_ms |
|
) |
| |