LUFA Library  120219
Host_UC3.h File Reference

USB Host definitions for the AVR32 UC3B microcontrollers. More...

#include "../../../../Common/Common.h"
#include "../StdDescriptors.h"
#include "../Pipe.h"
#include "../USBInterrupt.h"

Defines

#define USB_HOST_DEVICEADDRESS   1
#define HOST_DEVICE_SETTLE_DELAY_MS   1000

Enumerations

enum  USB_Host_ErrorCodes_t {
  HOST_ERROR_VBusVoltageDip = 0,
  HOST_ERROR_VBusVoltageDip = 0
}
enum  USB_Host_EnumerationErrorCodes_t {
  HOST_ENUMERROR_NoError = 0,
  HOST_ENUMERROR_WaitStage = 1,
  HOST_ENUMERROR_NoDeviceDetected = 2,
  HOST_ENUMERROR_ControlError = 3,
  HOST_ENUMERROR_PipeConfigError = 4,
  HOST_ENUMERROR_NoError = 0,
  HOST_ENUMERROR_WaitStage = 1,
  HOST_ENUMERROR_NoDeviceDetected = 2,
  HOST_ENUMERROR_ControlError = 3,
  HOST_ENUMERROR_PipeConfigError = 4
}

Functions

static uint16_t USB_Host_GetFrameNumber (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
static void USB_Host_EnableSOFEvents (void) ATTR_ALWAYS_INLINE
static void USB_Host_DisableSOFEvents (void) ATTR_ALWAYS_INLINE
static void USB_Host_ResetBus (void) ATTR_ALWAYS_INLINE
static bool USB_Host_IsBusResetComplete (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
static void USB_Host_ResumeBus (void) ATTR_ALWAYS_INLINE
static void USB_Host_SuspendBus (void) ATTR_ALWAYS_INLINE
static bool USB_Host_IsBusSuspended (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
static bool USB_Host_IsDeviceFullSpeed (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
static bool USB_Host_IsRemoteWakeupSent (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
static void USB_Host_ClearRemoteWakeupSent (void) ATTR_ALWAYS_INLINE
static void USB_Host_ResumeFromWakeupRequest (void) ATTR_ALWAYS_INLINE
static bool USB_Host_IsResumeFromWakeupRequestSent (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE

Detailed Description

Architecture specific USB Host definitions for the Atmel 32-bit AVR UC3B microcontrollers.

Note:
This file should not be included directly. It is automatically included as needed by the USB driver dispatch header located in LUFA/Drivers/USB/USB.h.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines