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 } |
Functions, macros, variables, enums and types related to the setup and management of the USB interface.