Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset f995350 in mainline


Ignore:
Timestamp:
2010-12-05T10:15:44Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
aca85e4, bb95594
Parents:
be9cbec
Message:

Add function for SET_ADDRESS request

Location:
uspace/lib/usb
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/Makefile

    rbe9cbec rf995350  
    3939        src/remotedrv.c \
    4040        src/usb.c \
     41        src/usbdrvreq.c \
    4142        src/usbdrv.c
    4243
  • uspace/lib/usb/include/usb/usb.h

    rbe9cbec rf995350  
    6969typedef int usb_address_t;
    7070
     71/** Default USB address. */
     72#define USB_ADDRESS_DEFAULT 0
     73
    7174/** USB endpoint number type.
    7275 * Negative values could be used to indicate error.
  • uspace/lib/usb/include/usb/usbdrv.h

    rbe9cbec rf995350  
    3636#define LIBUSB_USBDRV_H_
    3737
    38 #include "usb.h"
     38#include <usb/usb.h>
    3939#include <driver.h>
    4040
     
    7070int usb_drv_async_wait_for(usb_handle_t);
    7171
     72
     73int usb_drv_req_set_address(int, usb_address_t, usb_address_t);
     74
    7275#endif
    7376/**
Note: See TracChangeset for help on using the changeset viewer.