From f1973e73cb345276c6ad77e18b6c78d8797b48e7 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Fri, 5 Jun 2015 17:34:56 +0200 Subject: Move EP defines to header --- cores/arduino/USBAPI.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cores/arduino/USBAPI.h') diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h index 6f6d1cb..d8ad98d 100644 --- a/cores/arduino/USBAPI.h +++ b/cores/arduino/USBAPI.h @@ -41,6 +41,14 @@ typedef unsigned long u32; //================================================================================ // USB +#define EP_TYPE_CONTROL 0x00 +#define EP_TYPE_BULK_IN 0x81 +#define EP_TYPE_BULK_OUT 0x80 +#define EP_TYPE_INTERRUPT_IN 0xC1 +#define EP_TYPE_INTERRUPT_OUT 0xC0 +#define EP_TYPE_ISOCHRONOUS_IN 0x41 +#define EP_TYPE_ISOCHRONOUS_OUT 0x40 + class USBDevice_ { public: -- cgit v1.2.3-18-g5258