projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
df5500e
)
Added explicit attribute masks to the device mode demos' descriptors.
author
Dean Camera
<dean@fourwalledcubicle.com>
Thu, 13 Aug 2009 08:14:16 +0000
(08:14 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Thu, 13 Aug 2009 08:14:16 +0000
(08:14 +0000)
26 files changed:
Bootloaders/CDC/Descriptors.c
patch
|
blob
|
blame
|
history
Bootloaders/TeensyHID/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/CDC/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/DualCDC/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/GenericHID/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/Joystick/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/Keyboard/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/MassStorage/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/Mouse/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/RNDISEthernet/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/USBtoSerial/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/CDC/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/DualCDC/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/GenericHID/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/Joystick/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/Keyboard/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/MassStorage/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/Mouse/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/RNDISEthernet/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/USBtoSerial/Descriptors.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
patch
|
blob
|
blame
|
history
LUFA/ManPages/ChangeLog.txt
patch
|
blob
|
blame
|
history
Projects/Benito/Descriptors.c
patch
|
blob
|
blame
|
history
Projects/Magstripe/Descriptors.c
patch
|
blob
|
blame
|
history
diff --git
a/Bootloaders/CDC/Descriptors.c
b/Bootloaders/CDC/Descriptors.c
index
089bd7a
..
b0b1ba5
100644
(file)
--- a/
Bootloaders/CDC/Descriptors.c
+++ b/
Bootloaders/CDC/Descriptors.c
@@
-139,7
+139,7
@@
USB_Descriptor_Configuration_t ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
@@
-165,7
+165,7
@@
USB_Descriptor_Configuration_t ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-175,7
+175,7
@@
USB_Descriptor_Configuration_t ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Bootloaders/TeensyHID/Descriptors.c
b/Bootloaders/TeensyHID/Descriptors.c
index
2a4eeb7
..
b85bd7a
100644
(file)
--- a/
Bootloaders/TeensyHID/Descriptors.c
+++ b/
Bootloaders/TeensyHID/Descriptors.c
@@
-138,7
+138,7
@@
USB_Descriptor_Configuration_t ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | HID_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | HID_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x40
\r
},
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x40
\r
},
\r
diff --git
a/Demos/Device/ClassDriver/CDC/Descriptors.c
b/Demos/Device/ClassDriver/CDC/Descriptors.c
index
55b5cc1
..
5a8cc7a
100644
(file)
--- a/
Demos/Device/ClassDriver/CDC/Descriptors.c
+++ b/
Demos/Device/ClassDriver/CDC/Descriptors.c
@@
-139,7
+139,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
@@
-165,7
+165,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-175,7
+175,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Demos/Device/ClassDriver/DualCDC/Descriptors.c
b/Demos/Device/ClassDriver/DualCDC/Descriptors.c
index
80f1a85
..
8815b9e
100644
(file)
--- a/
Demos/Device/ClassDriver/DualCDC/Descriptors.c
+++ b/
Demos/Device/ClassDriver/DualCDC/Descriptors.c
@@
-153,7
+153,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC1_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC1_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
@@
-179,7
+179,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC1_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC1_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-189,7
+189,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC1_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC1_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-261,7
+261,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC2_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC2_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
@@
-287,7
+287,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC2_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC2_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-297,7
+297,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC2_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC2_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Demos/Device/ClassDriver/GenericHID/Descriptors.c
b/Demos/Device/ClassDriver/GenericHID/Descriptors.c
index
ba4e51e
..
25b4dd1
100644
(file)
--- a/
Demos/Device/ClassDriver/GenericHID/Descriptors.c
+++ b/
Demos/Device/ClassDriver/GenericHID/Descriptors.c
@@
-144,7
+144,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | GENERIC_IN_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | GENERIC_IN_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = GENERIC_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
.EndpointSize = GENERIC_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
diff --git
a/Demos/Device/ClassDriver/Joystick/Descriptors.c
b/Demos/Device/ClassDriver/Joystick/Descriptors.c
index
0550c3e
..
8c203cd
100644
(file)
--- a/
Demos/Device/ClassDriver/Joystick/Descriptors.c
+++ b/
Demos/Device/ClassDriver/Joystick/Descriptors.c
@@
-154,7
+154,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | JOYSTICK_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | JOYSTICK_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = JOYSTICK_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
.EndpointSize = JOYSTICK_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
diff --git
a/Demos/Device/ClassDriver/Keyboard/Descriptors.c
b/Demos/Device/ClassDriver/Keyboard/Descriptors.c
index
90a852f
..
80160db
100644
(file)
--- a/
Demos/Device/ClassDriver/Keyboard/Descriptors.c
+++ b/
Demos/Device/ClassDriver/Keyboard/Descriptors.c
@@
-161,7
+161,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.PollingIntervalMS = 0x04
\r
},
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.PollingIntervalMS = 0x04
\r
},
\r
diff --git
a/Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
b/Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
index
8f20bb8
..
b299b71
100644
(file)
--- a/
Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
+++ b/
Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
@@
-194,7
+194,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_IN_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_IN_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
@@
-231,7
+231,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_IN_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_IN_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
diff --git
a/Demos/Device/ClassDriver/MassStorage/Descriptors.c
b/Demos/Device/ClassDriver/MassStorage/Descriptors.c
index
bb27f2b
..
b824923
100644
(file)
--- a/
Demos/Device/ClassDriver/MassStorage/Descriptors.c
+++ b/
Demos/Device/ClassDriver/MassStorage/Descriptors.c
@@
-107,7
+107,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MASS_STORAGE_IN_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MASS_STORAGE_IN_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = MASS_STORAGE_IO_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = MASS_STORAGE_IO_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-117,7
+117,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | MASS_STORAGE_OUT_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | MASS_STORAGE_OUT_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = MASS_STORAGE_IO_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = MASS_STORAGE_IO_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Demos/Device/ClassDriver/Mouse/Descriptors.c
b/Demos/Device/ClassDriver/Mouse/Descriptors.c
index
c701f71
..
12728dc
100644
(file)
--- a/
Demos/Device/ClassDriver/Mouse/Descriptors.c
+++ b/
Demos/Device/ClassDriver/Mouse/Descriptors.c
@@
-154,7
+154,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = MOUSE_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
.EndpointSize = MOUSE_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
diff --git
a/Demos/Device/ClassDriver/RNDISEthernet/Descriptors.c
b/Demos/Device/ClassDriver/RNDISEthernet/Descriptors.c
index
38abf1a
..
238182e
100644
(file)
--- a/
Demos/Device/ClassDriver/RNDISEthernet/Descriptors.c
+++ b/
Demos/Device/ClassDriver/RNDISEthernet/Descriptors.c
@@
-139,7
+139,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
@@
-165,7
+165,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-175,7
+175,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Demos/Device/ClassDriver/USBtoSerial/Descriptors.c
b/Demos/Device/ClassDriver/USBtoSerial/Descriptors.c
index
0669577
..
f88a5f8
100644
(file)
--- a/
Demos/Device/ClassDriver/USBtoSerial/Descriptors.c
+++ b/
Demos/Device/ClassDriver/USBtoSerial/Descriptors.c
@@
-139,7
+139,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
@@
-165,7
+165,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-175,7
+175,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Demos/Device/LowLevel/CDC/Descriptors.c
b/Demos/Device/LowLevel/CDC/Descriptors.c
index
0bd1675
..
e81b034
100644
(file)
--- a/
Demos/Device/LowLevel/CDC/Descriptors.c
+++ b/
Demos/Device/LowLevel/CDC/Descriptors.c
@@
-139,7
+139,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
@@
-165,7
+165,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-175,7
+175,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Demos/Device/LowLevel/DualCDC/Descriptors.c
b/Demos/Device/LowLevel/DualCDC/Descriptors.c
index
fa22c6d
..
a7f7b03
100644
(file)
--- a/
Demos/Device/LowLevel/DualCDC/Descriptors.c
+++ b/
Demos/Device/LowLevel/DualCDC/Descriptors.c
@@
-153,7
+153,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC1_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC1_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
@@
-179,7
+179,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC1_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC1_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-189,7
+189,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC1_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC1_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-261,7
+261,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC2_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC2_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
@@
-287,7
+287,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC2_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC2_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-297,7
+297,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC2_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC2_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Demos/Device/LowLevel/GenericHID/Descriptors.c
b/Demos/Device/LowLevel/GenericHID/Descriptors.c
index
ad78963
..
723d8c2
100644
(file)
--- a/
Demos/Device/LowLevel/GenericHID/Descriptors.c
+++ b/
Demos/Device/LowLevel/GenericHID/Descriptors.c
@@
-144,7
+144,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | GENERIC_IN_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | GENERIC_IN_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = GENERIC_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
.EndpointSize = GENERIC_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
@@
-154,7
+154,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | GENERIC_OUT_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | GENERIC_OUT_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = GENERIC_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
.EndpointSize = GENERIC_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
diff --git
a/Demos/Device/LowLevel/Joystick/Descriptors.c
b/Demos/Device/LowLevel/Joystick/Descriptors.c
index
fd242b4
..
46fe73d
100644
(file)
--- a/
Demos/Device/LowLevel/Joystick/Descriptors.c
+++ b/
Demos/Device/LowLevel/Joystick/Descriptors.c
@@
-154,7
+154,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | JOYSTICK_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | JOYSTICK_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = JOYSTICK_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
.EndpointSize = JOYSTICK_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
diff --git
a/Demos/Device/LowLevel/Keyboard/Descriptors.c
b/Demos/Device/LowLevel/Keyboard/Descriptors.c
index
1518412
..
9dae452
100644
(file)
--- a/
Demos/Device/LowLevel/Keyboard/Descriptors.c
+++ b/
Demos/Device/LowLevel/Keyboard/Descriptors.c
@@
-161,7
+161,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.PollingIntervalMS = 0x04
\r
},
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.PollingIntervalMS = 0x04
\r
},
\r
@@
-171,7
+171,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_LEDS_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_LEDS_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.PollingIntervalMS = 0x04
\r
}
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.PollingIntervalMS = 0x04
\r
}
\r
diff --git
a/Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
b/Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
index
b137570
..
1fef380
100644
(file)
--- a/
Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
+++ b/
Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
@@
-194,7
+194,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_IN_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_IN_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
@@
-204,7
+204,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_OUT_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_OUT_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
@@
-241,7
+241,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_IN_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_IN_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
.EndpointSize = HID_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
diff --git
a/Demos/Device/LowLevel/MassStorage/Descriptors.c
b/Demos/Device/LowLevel/MassStorage/Descriptors.c
index
bb27f2b
..
b824923
100644
(file)
--- a/
Demos/Device/LowLevel/MassStorage/Descriptors.c
+++ b/
Demos/Device/LowLevel/MassStorage/Descriptors.c
@@
-107,7
+107,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MASS_STORAGE_IN_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MASS_STORAGE_IN_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = MASS_STORAGE_IO_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = MASS_STORAGE_IO_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-117,7
+117,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | MASS_STORAGE_OUT_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | MASS_STORAGE_OUT_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = MASS_STORAGE_IO_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = MASS_STORAGE_IO_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Demos/Device/LowLevel/Mouse/Descriptors.c
b/Demos/Device/LowLevel/Mouse/Descriptors.c
index
e028aeb
..
95a842d
100644
(file)
--- a/
Demos/Device/LowLevel/Mouse/Descriptors.c
+++ b/
Demos/Device/LowLevel/Mouse/Descriptors.c
@@
-154,7
+154,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = MOUSE_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
.EndpointSize = MOUSE_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
}
\r
diff --git
a/Demos/Device/LowLevel/RNDISEthernet/Descriptors.c
b/Demos/Device/LowLevel/RNDISEthernet/Descriptors.c
index
425bec2
..
ad7a420
100644
(file)
--- a/
Demos/Device/LowLevel/RNDISEthernet/Descriptors.c
+++ b/
Demos/Device/LowLevel/RNDISEthernet/Descriptors.c
@@
-139,7
+139,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0x02
\r
},
\r
@@
-165,7
+165,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-175,7
+175,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Demos/Device/LowLevel/USBtoSerial/Descriptors.c
b/Demos/Device/LowLevel/USBtoSerial/Descriptors.c
index
6dd375e
..
d3f7e92
100644
(file)
--- a/
Demos/Device/LowLevel/USBtoSerial/Descriptors.c
+++ b/
Demos/Device/LowLevel/USBtoSerial/Descriptors.c
@@
-139,7
+139,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
@@
-165,7
+165,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-175,7
+175,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
b/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
index
761b379
..
19c77c3
100644
(file)
--- a/
Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
+++ b/
Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
@@
-137,9
+137,6
@@
int main(void)
\r
do
\r
{
\r
\r
do
\r
{
\r
- if (USB_HostState != HOST_STATE_Configured)
\r
- break;
\r
-
\r
if (MS_Host_TestUnitReady(&FlashDisk_MS_Interface, 0, &DeviceReady))
\r
{
\r
printf("Error waiting for device to be ready.\r\n");
\r
if (MS_Host_TestUnitReady(&FlashDisk_MS_Interface, 0, &DeviceReady))
\r
{
\r
printf("Error waiting for device to be ready.\r\n");
\r
@@
-148,7
+145,7
@@
int main(void)
break;
\r
}
\r
}
\r
break;
\r
}
\r
}
\r
- while (
DeviceReady == false
);
\r
+ while (
!(DeviceReady)
);
\r
\r
puts_P(PSTR("Retrieving Capacity... "));
\r
\r
\r
puts_P(PSTR("Retrieving Capacity... "));
\r
\r
diff --git
a/LUFA/ManPages/ChangeLog.txt
b/LUFA/ManPages/ChangeLog.txt
index
24e6b8d
..
fd65221
100644
(file)
--- a/
LUFA/ManPages/ChangeLog.txt
+++ b/
LUFA/ManPages/ChangeLog.txt
@@
-14,8
+14,9
@@
*
\r
* <b>Changed:</b>
\r
* - SetIdle requests to the HID device driver with a 0 idle period (send changes only) now only affect the requested
\r
*
\r
* <b>Changed:</b>
\r
* - SetIdle requests to the HID device driver with a 0 idle period (send changes only) now only affect the requested
\r
- * HID interface within the device, not all HID interfaces.
\r
- * - Added new CDC_Device_Flush() command to the CDC Class device driver.
\r
+ * HID interface within the device, not all HID interfaces
\r
+ * - Added new CDC_Device_Flush() command to the device mode CDC Class driver
\r
+ * - Added explicit attribute masks to the device mode demos' descriptors
\r
*
\r
* <b>Fixed:</b>
\r
* - Fixed possible lockup in the CDC device class driver, when the host sends data that is a multiple of the
\r
*
\r
* <b>Fixed:</b>
\r
* - Fixed possible lockup in the CDC device class driver, when the host sends data that is a multiple of the
\r
diff --git
a/Projects/Benito/Descriptors.c
b/Projects/Benito/Descriptors.c
index
b66c991
..
cab2032
100644
(file)
--- a/
Projects/Benito/Descriptors.c
+++ b/
Projects/Benito/Descriptors.c
@@
-139,7
+139,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
@@
-165,7
+165,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-175,7
+175,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
diff --git
a/Projects/Magstripe/Descriptors.c
b/Projects/Magstripe/Descriptors.c
index
d4c5472
..
30cf3b8
100644
(file)
--- a/
Projects/Magstripe/Descriptors.c
+++ b/
Projects/Magstripe/Descriptors.c
@@
-152,7
+152,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.PollingIntervalMS = 0x01
\r
},
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.PollingIntervalMS = 0x01
\r
},
\r