Changeset 92574f4 in mainline for uspace/lib/usb/include/usb/usb.h


Ignore:
Timestamp:
2011-02-24T12:03:27Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e7b7ebd5
Parents:
4837092 (diff), a80849c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged development (changes in DDF, etc.).

Conflicts in uspace/drv/usbkbd/main.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/usb.h

    r4837092 r92574f4  
    3838#include <sys/types.h>
    3939#include <byteorder.h>
    40 #include <ipc/ipc.h>
    4140
    4241/** Convert 16bit value from native (host) endianness to USB endianness. */
     
    7069} usb_direction_t;
    7170
     71/** USB speeds. */
     72typedef enum {
     73        /** USB 1.1 low speed (1.5Mbits/s). */
     74        USB_SPEED_LOW,
     75        /** USB 1.1 full speed (12Mbits/s). */
     76        USB_SPEED_FULL,
     77        /** USB 2.0 high speed (480Mbits/s). */
     78        USB_SPEED_HIGH
     79} usb_speed_t;
     80
    7281/** USB request type target. */
    7382typedef enum {
     
    8392        USB_REQUEST_RECIPIENT_ENDPOINT = 2
    8493} usb_request_recipient_t;
    85 
    86 /** USB transaction outcome. */
    87 typedef enum {
    88         USB_OUTCOME_OK,
    89         USB_OUTCOME_CRCERROR,
    90         USB_OUTCOME_BABBLE
    91 } usb_transaction_outcome_t;
    92 
    93 const char * usb_str_transaction_outcome(usb_transaction_outcome_t o);
    9494
    9595/** USB address type.
Note: See TracChangeset for help on using the changeset viewer.