diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-13 20:55:57 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-13 20:55:57 +0000 |
commit | dd6a0b3ccdd62873e1cb874969741e3fb683db4b (patch) | |
tree | 7cfc6331e32929b1930d20f828e1bb1d53ae25bb /os/hal/platforms/STM32/usb_lld.h | |
parent | f67eb2c108183bc6f037c0cabb95dbd5995207ca (diff) | |
download | ChibiOS-dd6a0b3ccdd62873e1cb874969741e3fb683db4b.tar.gz ChibiOS-dd6a0b3ccdd62873e1cb874969741e3fb683db4b.tar.bz2 ChibiOS-dd6a0b3ccdd62873e1cb874969741e3fb683db4b.zip |
Implemented automatic allocation in the packet memory of the STM32 USB driver, no need to specify addresses anymore.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2737 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/usb_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/usb_lld.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/os/hal/platforms/STM32/usb_lld.h b/os/hal/platforms/STM32/usb_lld.h index c1b00de06..d82fda644 100644 --- a/os/hal/platforms/STM32/usb_lld.h +++ b/os/hal/platforms/STM32/usb_lld.h @@ -127,14 +127,6 @@ typedef struct { */
uint16_t out_maxsize;
/* End of the mandatory fields.*/
- /**
- * @brief Endpoint IN buffer address as offset in the PMA.
- */
- uint16_t inaddr;
- /**
- * @brief Endpoint OUT buffer address as offset in the PMA.
- */
- uint16_t outaddr;
} USBEndpointConfig;
@@ -265,6 +257,10 @@ struct USBDriver { */
uint8_t configuration;
/* End of the mandatory fields.*/
+ /**
+ * @brief Pointer to the next address in the packet memory.
+ */
+ uint32_t pmnext;
};
/*===========================================================================*/
|