File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
hardware/arduino/avr/cores/arduino Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,14 @@ typedef unsigned long u32;
4141// ================================================================================
4242// USB
4343
44+ #define EP_TYPE_CONTROL 0x00
45+ #define EP_TYPE_BULK_IN 0x81
46+ #define EP_TYPE_BULK_OUT 0x80
47+ #define EP_TYPE_INTERRUPT_IN 0xC1
48+ #define EP_TYPE_INTERRUPT_OUT 0xC0
49+ #define EP_TYPE_ISOCHRONOUS_IN 0x41
50+ #define EP_TYPE_ISOCHRONOUS_OUT 0x40
51+
4452class USBDevice_
4553{
4654public:
Original file line number Diff line number Diff line change 2020
2121#if defined(USBCON)
2222
23- #define EP_TYPE_CONTROL 0x00
24- #define EP_TYPE_BULK_IN 0x81
25- #define EP_TYPE_BULK_OUT 0x80
26- #define EP_TYPE_INTERRUPT_IN 0xC1
27- #define EP_TYPE_INTERRUPT_OUT 0xC0
28- #define EP_TYPE_ISOCHRONOUS_IN 0x41
29- #define EP_TYPE_ISOCHRONOUS_OUT 0x40
30-
3123/* * Pulse generation counters to keep track of the number of milliseconds remaining for each pulse type */
3224#define TX_RX_LED_PULSE_MS 100
3325volatile u8 TxLEDPulse; /* *< Milliseconds remaining for data Tx LED pulse */
You can’t perform that action at this time.
0 commit comments