usb: dwc_otg: Add OTG_DSTS_SUSPSTS

Originally filed as: https://github.com/libopencm3/libopencm3/pull/1224

Reviewed-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
Fabio Pugliese Ornellas 2020-03-23 23:31:29 +00:00 committed by Karl Palsson
parent d8d63b3184
commit 2a4cf034c7
1 changed files with 3 additions and 0 deletions

View File

@ -253,6 +253,9 @@
#define OTG_DCFG_DAD 0x07F0
#define OTG_DCFG_PFIVL 0x1800
/* OTG device status register (OTG_DSTS) */
#define OTG_DSTS_SUSPSTS (1 << 0)
/* OTG Device IN Endpoint Common Interrupt Mask Register (OTG_DIEPMSK) */
/* Bits 31:10 - Reserved */
#define OTG_DIEPMSK_BIM (1 << 9)