usbd add connected, suspended, remote_wakeup

- remove use of osal_queue_reset
This commit is contained in:
hathach
2019-03-30 02:26:15 +07:00
parent 28610198df
commit 93a853cd5b
8 changed files with 85 additions and 56 deletions

View File

@@ -48,7 +48,7 @@ typedef enum
DCD_EVENT_SETUP_RECEIVED,
DCD_EVENT_XFER_COMPLETE,
USBD_EVT_FUNC_CALL
USBD_EVENT_FUNC_CALL
} dcd_eventid_t;
typedef struct ATTR_ALIGNED(4)
@@ -67,7 +67,7 @@ typedef struct ATTR_ALIGNED(4)
uint32_t len;
}xfer_complete;
// USBD_EVT_FUNC_CALL
// USBD_EVENT_FUNC_CALL
struct {
void (*func) (void*);
void* param;