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. | |
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.
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().
Bitmask of flags indicating the state of the device.
Definition at line 97 of file udc.h.
Referenced by at90usb_udc_detach(), at90usb_udc_device_worker(), at90usb_udc_disable(), at90usb_udc_enable(), at90usb_udc_init(), at90usb_udc_is_enabled(), at90usb_udc_maybe_attach(), at90usb_udc_shutdown(), at90usb_udc_vbus_off(), at90usb_udc_vbus_on(), 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().
1.6.3