usbhc_iface.h File Reference

USB host controller interface definition. More...

#include "ddf/driver.h"
#include <usb/usb.h>
#include <bool.h>

Go to the source code of this file.

Data Structures

struct  usbhc_iface_t
 USB host controller communication interface. More...

Typedefs

typedef void(*) usbhc_iface_transfer_in_callback_t (ddf_fun_t *, int, size_t, void *)
 Callback for incoming transfer.
typedef int(*) usbhc_iface_transfer_in_t (ddf_fun_t *, usb_target_t, void *, size_t, usbhc_iface_transfer_in_callback_t, void *)
 In transfer processing function prototype.
typedef void(*) usbhc_iface_transfer_out_callback_t (ddf_fun_t *, int, void *)
 Callback for outgoing transfer.
typedef int(*) usbhc_iface_transfer_out_t (ddf_fun_t *, usb_target_t, void *, size_t, usbhc_iface_transfer_out_callback_t, void *)
 Out transfer processing function prototype.
typedef usbhc_iface_transfer_out_t usbhc_iface_transfer_setup_t
 Setup transfer processing function prototype.

Enumerations

enum  usbhc_iface_funcs_t {
  IPC_M_USBHC_REQUEST_ADDRESS, IPC_M_USBHC_BIND_ADDRESS, IPC_M_USBHC_GET_HANDLE_BY_ADDRESS, IPC_M_USBHC_RELEASE_ADDRESS,
  IPC_M_USBHC_INTERRUPT_OUT, IPC_M_USBHC_INTERRUPT_IN, IPC_M_USBHC_BULK_OUT, IPC_M_USBHC_BULK_IN,
  IPC_M_USBHC_CONTROL_WRITE, IPC_M_USBHC_CONTROL_READ, IPC_M_USBHC_REGISTER_ENDPOINT, IPC_M_USBHC_UNREGISTER_ENDPOINT
}
 IPC methods for communication with HC through DDF interface. More...


Detailed Description

USB host controller interface definition.

Definition in file usbhc_iface.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7