diff options
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;
|