aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/hal_usb.h')
-rw-r--r--os/hal/include/hal_usb.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/os/hal/include/hal_usb.h b/os/hal/include/hal_usb.h
index 71fa42498..63fa9e25d 100644
--- a/os/hal/include/hal_usb.h
+++ b/os/hal/include/hal_usb.h
@@ -285,13 +285,13 @@ typedef enum {
* @brief Type of an endpoint zero state machine states.
*/
typedef enum {
- USB_EP0_WAITING_SETUP, /**< Waiting for SETUP data. */
- USB_EP0_TX, /**< Transmitting. */
- USB_EP0_WAITING_TX0, /**< Waiting transmit 0. */
- USB_EP0_WAITING_STS, /**< Waiting status. */
- USB_EP0_RX, /**< Receiving. */
- USB_EP0_SENDING_STS, /**< Sending status. */
- USB_EP0_ERROR /**< Error, EP0 stalled. */
+ USB_EP0_STP_WAITING = 0, /**< Waiting for SETUP data. */
+ USB_EP0_IN_TX = 1, /**< Transmitting. */
+ USB_EP0_IN_WAITING_TX0 = 2, /**< Waiting transmit 0. */
+ USB_EP0_IN_SENDING_STS = 3, /**< Sending status. */
+ USB_EP0_OUT_WAITING_STS = 4, /**< Waiting status. */
+ USB_EP0_OUT_RX = 5, /**< Receiving. */
+ USB_EP0_ERROR = 6 /**< Error, EP0 stalled. */
} usbep0state_t;
/**