aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3
diff options
context:
space:
mode:
authorGareth McMullin2011-03-15 20:33:02 +1300
committerGareth McMullin2011-03-15 20:33:02 +1300
commit6bbc4c2f7cc17cf9cc18dc7110e7d9de2d4a8551 (patch)
treef0c08fee3a8e5882e72ba0fa10d875e7df971f57 /include/libopencm3
parent67e3452855d8446bab1ebf9f07cb8891f250fb6c (diff)
Fixed non-control endpoints for connectivity line USB.
Diffstat (limited to 'include/libopencm3')
-rw-r--r--include/libopencm3/stm32/otg_fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/otg_fs.h b/include/libopencm3/stm32/otg_fs.h
index 34a7c85..e1d7a6a 100644
--- a/include/libopencm3/stm32/otg_fs.h
+++ b/include/libopencm3/stm32/otg_fs.h
@@ -250,6 +250,7 @@
#define OTG_FS_DIEPCTL0_EPENA (1 << 31)
#define OTG_FS_DIEPCTL0_EPDIS (1 << 30)
/* Bits 29:28 - Reserved */
+#define OTG_FS_DIEPCTLX_SD0PID (1 << 28)
#define OTG_FS_DIEPCTL0_SNAK (1 << 27)
#define OTG_FS_DIEPCTL0_CNAK (1 << 26)
#define OTG_FS_DIEPCTL0_TXFNUM_MASK (0xf << 22)
@@ -270,6 +271,7 @@
#define OTG_FS_DOEPCTL0_EPENA (1 << 31)
#define OTG_FS_DOEPCTL0_EPDIS (1 << 30)
/* Bits 29:28 - Reserved */
+#define OTG_FS_DOEPCTLX_SD0PID (1 << 28)
#define OTG_FS_DOEPCTL0_SNAK (1 << 27)
#define OTG_FS_DOEPCTL0_CNAK (1 << 26)
/* Bits 25:22 - Reserved */