add usbd_task to handle event task eg setup received

This commit is contained in:
hathach
2013-11-15 12:30:22 +07:00
parent ba49d26e19
commit fc68439b74
9 changed files with 182 additions and 128 deletions

View File

@@ -61,6 +61,7 @@
typedef struct {
volatile uint8_t state;
tusb_control_request_t control_request;
uint8_t interface2class[USBD_MAX_INTERFACE]; // determine interface number belongs to which class
}usbd_device_info_t;