diff options
| author | hathach <[email protected]> | 2019-10-25 21:20:05 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-10-25 21:20:05 +0700 |
| commit | 4e8c57171c7db9cf5e7110de5bf5d86bfae917cf (patch) | |
| tree | a6ab67e72d55ef01f0253d32cac37e99062ab798 /src/device/dcd.h | |
| parent | d0146be00b4dd41826f29e36bb10e0ecafce5e47 (diff) | |
| parent | 5d975d93139e0ce346372dc07ca34ef9df7b0287 (diff) | |
Merge branch 'master' into cr1901-msp430f5529
Diffstat (limited to 'src/device/dcd.h')
| -rw-r--r-- | src/device/dcd.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index 168eb181c..c417ee4be 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -39,17 +39,20 @@ typedef enum
{
- DCD_EVENT_BUS_RESET = 1,
+ DCD_EVENT_INVALID = 0,
+ DCD_EVENT_BUS_RESET,
DCD_EVENT_UNPLUGGED,
DCD_EVENT_SOF,
- DCD_EVENT_SUSPEND,
+ DCD_EVENT_SUSPEND, // TODO LPM Sleep L1 support
DCD_EVENT_RESUME,
DCD_EVENT_SETUP_RECEIVED,
DCD_EVENT_XFER_COMPLETE,
// Not an DCD event, just a convenient way to defer ISR function
- USBD_EVENT_FUNC_CALL
+ USBD_EVENT_FUNC_CALL,
+
+ DCD_EVENT_COUNT
} dcd_eventid_t;
typedef struct TU_ATTR_ALIGNED(4)
|
