udc Struct Reference
[USB Device Controller (UDC)]

A USB Device Controller. More...

#include <udc.h>

Data Fields

enum usb_device_speed speed
 The speed that we're currently operating at.
uint8_t config
 Current device configuration value.
uint8_t flags
 Bitmask of flags indicating the state of the device.
uint8_t address
 Our current device address.

Detailed Description

A USB Device Controller.

This structure contains data about a USB Device Controller usable by the rest of the system. The UDC driver will normally wrap this inside its own structure, containing additional controller-specific data.

Definition at line 86 of file udc.h.


Field Documentation

Our current device address.

If the device has not reached the ADDRESS state, this field contains 0.

Definition at line 104 of file udc.h.

Referenced by at90usb_udc_detach(), at90usb_udc_device_worker(), at90usb_udc_ep0_worker(), udc_lib_standard_request(), and udc_state().

Current device configuration value.

If the device has not reached the CONFIGURED state, this field contains 0.

Definition at line 95 of file udc.h.

Referenced by udc_lib_standard_request(), and udc_state().

The speed that we're currently operating at.

Definition at line 88 of file udc.h.

Referenced by at90usb_udc_detach(), at90usb_udc_device_worker(), udc_is_full_speed(), udc_is_high_speed(), udc_is_low_speed(), and udc_state().


The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 14:10:36 2010 for xplain-bc by  doxygen 1.6.3