aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-12-29 10:51:53 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-12-29 10:51:53 +0000
commit73b405b13ff98171368c9b76aa37f07f189eb31f (patch)
treec7c9737fa02291d8227ab0754fe24d24732299ca
parentde202dd376ea3109e21f535554647689dda23c7b (diff)
downloadChibiOS-73b405b13ff98171368c9b76aa37f07f189eb31f.tar.gz
ChibiOS-73b405b13ff98171368c9b76aa37f07f189eb31f.tar.bz2
ChibiOS-73b405b13ff98171368c9b76aa37f07f189eb31f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8654 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/LLD/OTGv1/usb_lld.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
index 85038a9e2..42ef245c4 100644
--- a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
+++ b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
@@ -290,38 +290,34 @@ typedef struct {
usbepcallback_t setup_cb;
/**
* @brief IN endpoint notification callback.
- * @details This field must can be set to @p NULL if callback is not
- * required.
+ * @details This field must be set to @p NULL if callback is not required.
*/
usbepcallback_t in_cb;
/**
* @brief OUT endpoint notification callback.
- * @details This field must can be set to @p NULL if callback is not
- * required.
+ * @details This field must be set to @p NULL if callback is not required.
*/
usbepcallback_t out_cb;
/**
* @brief IN endpoint maximum packet size.
- * @details This field must be set to zero if the IN endpoint is not
- * used.
+ * @details This field must be set to zero if the IN endpoint is not used.
*/
uint16_t in_maxsize;
/**
* @brief OUT endpoint maximum packet size.
- * @details This field must be set to zero if the OUT endpoint is not
- * used.
+ * @details This field must be set to zero if the OUT endpoint is not used.
*/
uint16_t out_maxsize;
/**
* @brief @p USBEndpointState associated to the IN endpoint.
- * @details This structure maintains the state of the IN endpoint,
- * set to @p NULL if the IN endpoint is not used.
+ * @details This field must be set to @p NULL if the IN endpoint is not
+ * used.
*/
USBInEndpointState *in_state;
/**
* @brief @p USBEndpointState associated to the OUT endpoint.
- * @details This structure maintains the state of the OUT endpoint,
- * set to @p NULL if the OUT endpoint is not used.
+ * @details This field must be set to @p NULL if the OUT endpoint is not
+ * used.
*/
USBOutEndpointState *out_state;
/* End of the mandatory fields.*/