Ignore:
File:
1 edited

Legend:

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

    r2cea1045 rdaec5e04  
    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. */
     
    6665typedef enum {
    6766        USB_DIRECTION_IN,
    68         USB_DIRECTION_OUT
     67        USB_DIRECTION_OUT,
     68        USB_DIRECTION_BOTH
    6969} usb_direction_t;
    7070
     
    8282        USB_REQUEST_RECIPIENT_ENDPOINT = 2
    8383} usb_request_recipient_t;
    84 
    85 /** USB transaction outcome. */
    86 typedef enum {
    87         USB_OUTCOME_OK,
    88         USB_OUTCOME_CRCERROR,
    89         USB_OUTCOME_BABBLE
    90 } usb_transaction_outcome_t;
    91 
    92 const char * usb_str_transaction_outcome(usb_transaction_outcome_t o);
    9384
    9485/** USB address type.
Note: See TracChangeset for help on using the changeset viewer.