usb.c File Reference

Common USB functions. More...

#include <usb/usb.h>
#include <errno.h>

Go to the source code of this file.

Defines

#define ARR_SIZE(arr)   (sizeof(arr)/sizeof(arr[0]))

Functions

const char * usb_str_speed (usb_speed_t s)
 String representation of USB speed.
const char * usb_str_transfer_type (usb_transfer_type_t t)
 String representation for USB transfer type.
const char * usb_str_transfer_type_short (usb_transfer_type_t t)
 String representation for USB transfer type (short version).

Variables

static const char * str_speed []
static const char * str_transfer_type []
static const char * str_transfer_type_short []


Detailed Description

Common USB functions.

Definition in file usb.c.


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