diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-15 09:16:17 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-15 09:16:17 +0000 |
commit | 35ff7323526f5225d1a00c7812291e9fcdbfafac (patch) | |
tree | d2fd2eb98544de7e6e2eafae015e8afe33c721b6 /os/hal/platforms/STM32/stm32_usb.h | |
parent | 20a4b38126be234c5f946df9254c7d64502ff855 (diff) | |
download | ChibiOS-35ff7323526f5225d1a00c7812291e9fcdbfafac.tar.gz ChibiOS-35ff7323526f5225d1a00c7812291e9fcdbfafac.tar.bz2 ChibiOS-35ff7323526f5225d1a00c7812291e9fcdbfafac.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2740 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/stm32_usb.h')
-rw-r--r-- | os/hal/platforms/STM32/stm32_usb.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/stm32_usb.h b/os/hal/platforms/STM32/stm32_usb.h index 8c04ba85f..8bb0d8b95 100644 --- a/os/hal/platforms/STM32/stm32_usb.h +++ b/os/hal/platforms/STM32/stm32_usb.h @@ -108,11 +108,16 @@ typedef struct { #define STM32_USB ((stm32_usb_t *)STM32_USB_BASE)
/**
- * @brief Pointer to the USB RAM.
+ * @brief Pointer to the USB RAM.
*/
#define STM32_USBRAM ((uint32_t *)STM32_USBRAM_BASE)
/**
+ * @brief Size of the dedicated packet memory.
+ */
+#define USB_PMA_SIZE 512
+
+/**
* @brief Mask of all the toggling bits in the EPR register.
*/
#define EPR_TOGGLE_MASK (EPR_STAT_TX_MASK | EPR_DTOG_TX | \
|