diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-01 15:50:35 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-01 15:50:35 +0000 |
commit | 11ecb1a7586ddaf6276a087d51de829b00d5f386 (patch) | |
tree | 4f5ad4b7ef204329156c779c6166bd8f70d5222c /os/hal/platforms/STM32/USBv1/usb_lld.h | |
parent | b920c0b7ff759436162a961fc97242473b1a9554 (diff) | |
download | ChibiOS-11ecb1a7586ddaf6276a087d51de829b00d5f386.tar.gz ChibiOS-11ecb1a7586ddaf6276a087d51de829b00d5f386.tar.bz2 ChibiOS-11ecb1a7586ddaf6276a087d51de829b00d5f386.zip |
Fixed problem with multiple SerialUSB instances.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5651 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/USBv1/usb_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/USBv1/usb_lld.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/USBv1/usb_lld.h b/os/hal/platforms/STM32/USBv1/usb_lld.h index fbd44fafe..d4602f65f 100644 --- a/os/hal/platforms/STM32/USBv1/usb_lld.h +++ b/os/hal/platforms/STM32/USBv1/usb_lld.h @@ -302,6 +302,20 @@ struct USBDriver { */
const USBEndpointConfig *epc[USB_MAX_ENDPOINTS + 1];
/**
+ * @brief Fields available to user, it can be used to associate an
+ * application-defined handler to an IN endpoint.
+ * @note The base index is one, the endpoint zero does not have a
+ * reserved element in this array.
+ */
+ void *in_params[USB_MAX_ENDPOINTS];
+ /**
+ * @brief Fields available to user, it can be used to associate an
+ * application-defined handler to an OUT endpoint.
+ * @note The base index is one, the endpoint zero does not have a
+ * reserved element in this array.
+ */
+ void *out_params[USB_MAX_ENDPOINTS];
+ /**
* @brief Endpoint 0 state.
*/
usbep0state_t ep0state;
|