include/usb/dev.h File Reference

USB hardware-independent device layer. More...

#include <types.h>

Go to the source code of this file.

Functions

void usb_dev_reset (struct udc *udc)
 Reset the USB device.
status_t usb_dev_get_descriptor (struct udc *udc, uint16_t value, uint16_t index, uint16_t len)
 Handle a standard GET_DESCRIPTOR request.
status_t usb_dev_set_configuration (struct udc *udc, uint16_t config_id)
 Set the active configuration.
status_t usb_dev_get_interface (struct udc *udc, uint16_t iface_id)
 Get the currently active alternate setting of an interface.
status_t usb_dev_set_interface (struct udc *udc, uint16_t iface_id, uint16_t alt_setting)
 Select an alternate setting for an interface.
status_t usb_dev_process_setup_request (struct udc *udc, struct usb_setup_req *setup)
 Handle a class- or vendor-defined setup request.

Detailed Description

USB hardware-independent device layer.

This file defines the interface between the UDC driver and the hardware-independent device core layer.

Copyright (C) 2009 Atmel Corporation. All rights reserved.

Definition in file dev.h.

Generated on Thu Apr 29 14:10:34 2010 for xplain-bc by  doxygen 1.6.3