From 28e7808798ebb9c087d2ba15a0366362a50fea9e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 13 Aug 2012 08:27:51 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4561 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/OTGv1/stm32_otg.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'os/hal/platforms/STM32') diff --git a/os/hal/platforms/STM32/OTGv1/stm32_otg.h b/os/hal/platforms/STM32/OTGv1/stm32_otg.h index 4c83a62eb..7e08fae7f 100644 --- a/os/hal/platforms/STM32/OTGv1/stm32_otg.h +++ b/os/hal/platforms/STM32/OTGv1/stm32_otg.h @@ -801,6 +801,14 @@ typedef struct { #define DIEPTSIZ_XFRSIZ(n) ((n)<<0) /**< Transfer size value. */ /** @} */ +/** + * @name DTXFSTS register bit definitions. + * @{ + */ +#define DTXFSTS_INEPTFSAV_MASK (0xFFFF<<0) /**< IN endpoint TxFIFO space + available. */ +/** @} */ + /** * @name DOEPCTL register bit definitions. * @{ -- cgit v1.2.3