aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/otg_fs.h
diff options
context:
space:
mode:
authorGareth McMullin2011-03-14 20:31:32 +1300
committerGareth McMullin2011-03-14 20:31:32 +1300
commitbf0d1a7b4114ca35a2000bd47d9c6d73c6e92ce2 (patch)
tree7439f4f362c9da0b11ee5d9a24876941ebfe13d9 /include/libopencm3/stm32/otg_fs.h
parent7faea389e8ba002e1c3c7604eaaa916fad583179 (diff)
Connectivity line USB driver now enumerating correctly.
Diffstat (limited to 'include/libopencm3/stm32/otg_fs.h')
-rw-r--r--include/libopencm3/stm32/otg_fs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/otg_fs.h b/include/libopencm3/stm32/otg_fs.h
index d39593e..34a7c85 100644
--- a/include/libopencm3/stm32/otg_fs.h
+++ b/include/libopencm3/stm32/otg_fs.h
@@ -297,6 +297,16 @@
#define OTG_FS_DIEPINTX_EPDISD (1 << 1)
#define OTG_FS_DIEPINTX_XFRC (1 << 0)
+/* OTG_FS Device IN Endpoint Interrupt Register (OTG_FS_DOEPINTx) */
+/* Bits 31:7 - Reserved */
+#define OTG_FS_DOEPINTX_B2BSTUP (1 << 6)
+/* Bit 5 - Reserved */
+#define OTG_FS_DOEPINTX_OTEPDIS (1 << 4)
+#define OTG_FS_DOEPINTX_STUP (1 << 3)
+/* Bit 2 - Reserved */
+#define OTG_FS_DOEPINTX_EPDISD (1 << 1)
+#define OTG_FS_DOEPINTX_XFRC (1 << 0)
+
/* OTG_FS Device OUT Endpoint 0 Transfer Size Regsiter (OTG_FS_DOEPTSIZ0) */
/* Bit 31 - Reserved */
#define OTG_FS_DIEPSIZ0_STUPCNT_1 (0x1 << 29)