Device.h File Reference

#include <avr/pgmspace.h>
#include <avr/eeprom.h>
#include "../../../Common/Common.h"
#include "../HighLevel/StdDescriptors.h"
#include "Endpoint.h"

Defines

#define USB_DEVICE_OPT_LOWSPEED   (1 << 0)
#define USB_DEVICE_OPT_FULLSPEED   (0 << 0)

Enumerations

enum  USB_Device_States_t {
  DEVICE_STATE_Unattached = 0,
  DEVICE_STATE_Powered = 1,
  DEVICE_STATE_Default = 2,
  DEVICE_STATE_Addressed = 3,
  DEVICE_STATE_Configured = 4,
  DEVICE_STATE_Suspended = 5
}

Functions

static void USB_Device_SendRemoteWakeup (void)
static bool USB_Device_IsRemoteWakeupSent (void)
static bool USB_Device_IsUSBSuspended (void)
static bool USB_Device_EnableSOFEvents (void)
static bool USB_Device_DisableSOFEvents (void)
uint16_t CALLBACK_USB_GetDescriptor (const uint16_t wValue, const uint8_t wIndex, void **const DescriptorAddress, uint8_t *MemoryAddressSpace) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3)

Generated on Sun Nov 22 16:00:09 2009 for LUFA (Formerly MyUSB) Library by  doxygen 1.6.1