diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-18 13:35:28 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-18 13:35:28 +0000 |
commit | 9662d58fb67b5c11f68f79d091c83280b7903dd3 (patch) | |
tree | 9fc3234f8f3ca3f92878fd210f823505bf574713 /os/hal/include/hal_usb.h | |
parent | 62f078360f93ff89fd8d3dc4fd4d911dafa592b5 (diff) | |
download | ChibiOS-9662d58fb67b5c11f68f79d091c83280b7903dd3.tar.gz ChibiOS-9662d58fb67b5c11f68f79d091c83280b7903dd3.tar.bz2 ChibiOS-9662d58fb67b5c11f68f79d091c83280b7903dd3.zip |
Some renaming work for clearness.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10449 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/hal_usb.h')
-rw-r--r-- | os/hal/include/hal_usb.h | 14 |
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;
/**
|