LUFA Library  151115
USBController.h File Reference

Common USB Controller definitions for all architectures. More...

Macros

Endpoint Direction Masks
#define ENDPOINT_DIR_MASK   0x80
 
#define ENDPOINT_DIR_OUT   0x00
 
#define ENDPOINT_DIR_IN   0x80
 
Pipe Direction Masks
#define PIPE_DIR_MASK   0x80
 
#define PIPE_DIR_OUT   0x00
 
#define PIPE_DIR_IN   0x80
 
Endpoint/Pipe Type Masks
#define EP_TYPE_MASK   0x03
 
#define EP_TYPE_CONTROL   0x00
 
#define EP_TYPE_ISOCHRONOUS   0x01
 
#define EP_TYPE_BULK   0x02
 
#define EP_TYPE_INTERRUPT   0x03
 

Enumerations

enum  USB_Modes_t {
  USB_MODE_None = 0,
  USB_MODE_Device = 1,
  USB_MODE_Host = 2,
  USB_MODE_UID = 3
}
 

Detailed Description

Functions, macros, variables, enums and types related to the setup and management of the USB interface.

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.