aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/usb_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-28 18:44:46 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-28 18:44:46 +0000
commit6b5ddb71fcb396ec826a283427b4771018d193e8 (patch)
tree89b2fdc761a8a39cc75db7b97a91f4088da6612e /os/hal/platforms/STM32/usb_lld.c
parent381bddaf5af985848e36ed8abbd4321bbb442538 (diff)
downloadChibiOS-6b5ddb71fcb396ec826a283427b4771018d193e8.tar.gz
ChibiOS-6b5ddb71fcb396ec826a283427b4771018d193e8.tar.bz2
ChibiOS-6b5ddb71fcb396ec826a283427b4771018d193e8.zip
GPT driver model, STM32 GPT driver implementation, not tested, documentation not done yet.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2779 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/usb_lld.c')
-rw-r--r--os/hal/platforms/STM32/usb_lld.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/usb_lld.c b/os/hal/platforms/STM32/usb_lld.c
index eb3d6ab7a..ecd183171 100644
--- a/os/hal/platforms/STM32/usb_lld.c
+++ b/os/hal/platforms/STM32/usb_lld.c
@@ -29,7 +29,6 @@
#include "ch.h"
#include "hal.h"
-#include "usb.h"
#if HAL_USE_USB || defined(__DOXYGEN__)
@@ -513,6 +512,10 @@ void usb_lld_disable_endpoints(USBDriver *usbp) {
*
* @param[in] usbp pointer to the @p USBDriver object
* @param[in] ep endpoint number
+ * @return The endpoint status.
+ * @retval EP_STATUS_DISABLED The endpoint is not active.
+ * @retval EP_STATUS_STALLED The endpoint is stalled.
+ * @retval EP_STATUS_ACTIVE The endpoint is active.
*
* @notapi
*/
@@ -534,6 +537,10 @@ usbepstatus_t usb_lld_get_status_out(USBDriver *usbp, usbep_t ep) {
*
* @param[in] usbp pointer to the @p USBDriver object
* @param[in] ep endpoint number
+ * @return The endpoint status.
+ * @retval EP_STATUS_DISABLED The endpoint is not active.
+ * @retval EP_STATUS_STALLED The endpoint is stalled.
+ * @retval EP_STATUS_ACTIVE The endpoint is active.
*
* @notapi
*/