| 892 |
theseven |
1 |
#ifndef __USBGLUE_H__
|
|
|
2 |
#define __USBGLUE_H__
|
|
|
3 |
|
|
|
4 |
#include "../global.h"
|
|
|
5 |
#include "usb.h"
|
|
|
6 |
|
|
|
7 |
extern void usbmanager_init();
|
|
|
8 |
extern void usbmanager_exit();
|
|
|
9 |
extern int usbmanager_install_custom(const struct usb_devicedescriptor* devicedescriptor,
|
|
|
10 |
uint8_t config_count, const struct usb_configuration** configurations,
|
|
|
11 |
uint8_t string_count, const struct usb_stringdescriptor** stringdescriptors,
|
|
|
12 |
bool enable_debug);
|
|
|
13 |
extern void usbmanager_uninstall_custom();
|
|
|
14 |
extern uint32_t usbmanager_get_available_endpoints();
|
|
|
15 |
extern bool usbmanager_get_connected();
|
|
|
16 |
|
|
|
17 |
#endif
|