From 2a4cf034c75de55fbc5a27d15d3bfc1b45645f14 Mon Sep 17 00:00:00 2001 From: Fabio Pugliese Ornellas Date: Mon, 23 Mar 2020 23:31:29 +0000 Subject: [PATCH] usb: dwc_otg: Add OTG_DSTS_SUSPSTS Originally filed as: https://github.com/libopencm3/libopencm3/pull/1224 Reviewed-by: Karl Palsson --- include/libopencm3/usb/dwc/otg_common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/libopencm3/usb/dwc/otg_common.h b/include/libopencm3/usb/dwc/otg_common.h index 8a703713..56483f6e 100644 --- a/include/libopencm3/usb/dwc/otg_common.h +++ b/include/libopencm3/usb/dwc/otg_common.h @@ -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)