projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
99abd1a
)
Adjust endpoint polling intervals for HID demos, to make them compliant with the...
author
Dean Camera
<dean@fourwalledcubicle.com>
Thu, 13 Aug 2009 08:26:59 +0000
(08:26 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Thu, 13 Aug 2009 08:26:59 +0000
(08:26 +0000)
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/Mouse/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/Mouse/Descriptors.c
patch
|
blob
|
blame
|
history
Projects/Magstripe/Magstripe.txt
patch
|
blob
|
blame
|
history
diff --git
a/Demos/Device/ClassDriver/GenericHID/Descriptors.c
b/Demos/Device/ClassDriver/GenericHID/Descriptors.c
index
25b4dd1
..
a2bea6d
100644
(file)
--- a/
Demos/Device/ClassDriver/GenericHID/Descriptors.c
+++ b/
Demos/Device/ClassDriver/GenericHID/Descriptors.c
@@
-146,7
+146,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | GENERIC_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = GENERIC_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | GENERIC_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = GENERIC_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
},
\r
};
\r
\r
},
\r
};
\r
\r
diff --git
a/Demos/Device/ClassDriver/Joystick/Descriptors.c
b/Demos/Device/ClassDriver/Joystick/Descriptors.c
index
8c203cd
..
74ab7d9
100644
(file)
--- a/
Demos/Device/ClassDriver/Joystick/Descriptors.c
+++ b/
Demos/Device/ClassDriver/Joystick/Descriptors.c
@@
-156,7
+156,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | JOYSTICK_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = JOYSTICK_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | JOYSTICK_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = JOYSTICK_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
}
\r
};
\r
\r
}
\r
};
\r
\r
diff --git
a/Demos/Device/ClassDriver/Keyboard/Descriptors.c
b/Demos/Device/ClassDriver/Keyboard/Descriptors.c
index
80160db
..
adc6210
100644
(file)
--- a/
Demos/Device/ClassDriver/Keyboard/Descriptors.c
+++ b/
Demos/Device/ClassDriver/Keyboard/Descriptors.c
@@
-163,7
+163,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
- .PollingIntervalMS = 0x0
4
\r
+ .PollingIntervalMS = 0x0
A
\r
},
\r
};
\r
\r
},
\r
};
\r
\r
diff --git
a/Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
b/Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
index
b299b71
..
114d863
100644
(file)
--- a/
Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
+++ b/
Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
@@
-196,7
+196,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = HID_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = HID_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
},
\r
\r
.MouseInterface =
\r
},
\r
\r
.MouseInterface =
\r
@@
-233,7
+233,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = HID_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = HID_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
}
\r
};
\r
\r
}
\r
};
\r
\r
diff --git
a/Demos/Device/ClassDriver/Mouse/Descriptors.c
b/Demos/Device/ClassDriver/Mouse/Descriptors.c
index
12728dc
..
7161da1
100644
(file)
--- a/
Demos/Device/ClassDriver/Mouse/Descriptors.c
+++ b/
Demos/Device/ClassDriver/Mouse/Descriptors.c
@@
-156,7
+156,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = MOUSE_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = MOUSE_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
}
\r
};
\r
\r
}
\r
};
\r
\r
diff --git
a/Demos/Device/LowLevel/GenericHID/Descriptors.c
b/Demos/Device/LowLevel/GenericHID/Descriptors.c
index
723d8c2
..
01ac1cd
100644
(file)
--- a/
Demos/Device/LowLevel/GenericHID/Descriptors.c
+++ b/
Demos/Device/LowLevel/GenericHID/Descriptors.c
@@
-146,7
+146,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | GENERIC_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = GENERIC_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | GENERIC_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = GENERIC_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
},
\r
\r
.GenericOUTEndpoint =
\r
},
\r
\r
.GenericOUTEndpoint =
\r
@@
-156,7
+156,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | GENERIC_OUT_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = GENERIC_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | GENERIC_OUT_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = GENERIC_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
}
\r
};
\r
\r
}
\r
};
\r
\r
diff --git
a/Demos/Device/LowLevel/Joystick/Descriptors.c
b/Demos/Device/LowLevel/Joystick/Descriptors.c
index
46fe73d
..
63f3adc
100644
(file)
--- a/
Demos/Device/LowLevel/Joystick/Descriptors.c
+++ b/
Demos/Device/LowLevel/Joystick/Descriptors.c
@@
-156,7
+156,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | JOYSTICK_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = JOYSTICK_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | JOYSTICK_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = JOYSTICK_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
}
\r
};
\r
\r
}
\r
};
\r
\r
diff --git
a/Demos/Device/LowLevel/Keyboard/Descriptors.c
b/Demos/Device/LowLevel/Keyboard/Descriptors.c
index
9dae452
..
9e31269
100644
(file)
--- a/
Demos/Device/LowLevel/Keyboard/Descriptors.c
+++ b/
Demos/Device/LowLevel/Keyboard/Descriptors.c
@@
-163,7
+163,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
- .PollingIntervalMS = 0x0
4
\r
+ .PollingIntervalMS = 0x0
A
\r
},
\r
\r
.KeyboardLEDsEndpoint =
\r
},
\r
\r
.KeyboardLEDsEndpoint =
\r
@@
-173,7
+173,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_LEDS_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_LEDS_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = KEYBOARD_EPSIZE,
\r
- .PollingIntervalMS = 0x0
4
\r
+ .PollingIntervalMS = 0x0
A
\r
}
\r
};
\r
\r
}
\r
};
\r
\r
diff --git
a/Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
b/Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
index
1fef380
..
b2393bc
100644
(file)
--- a/
Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
+++ b/
Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
@@
-196,7
+196,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = HID_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = HID_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
},
\r
\r
.KeyboardOutEndpoint =
\r
},
\r
\r
.KeyboardOutEndpoint =
\r
@@
-206,7
+206,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_OUT_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = HID_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_OUT_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = HID_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
},
\r
\r
.MouseInterface =
\r
},
\r
\r
.MouseInterface =
\r
@@
-243,7
+243,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = HID_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_IN_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = HID_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
}
\r
};
\r
\r
}
\r
};
\r
\r
diff --git
a/Demos/Device/LowLevel/Mouse/Descriptors.c
b/Demos/Device/LowLevel/Mouse/Descriptors.c
index
95a842d
..
27d870a
100644
(file)
--- a/
Demos/Device/LowLevel/Mouse/Descriptors.c
+++ b/
Demos/Device/LowLevel/Mouse/Descriptors.c
@@
-156,7
+156,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = MOUSE_EPSIZE,
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_EPNUM),
\r
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
\r
.EndpointSize = MOUSE_EPSIZE,
\r
- .PollingIntervalMS = 0x0
2
\r
+ .PollingIntervalMS = 0x0
A
\r
}
\r
};
\r
\r
}
\r
};
\r
\r
diff --git
a/Projects/Magstripe/Magstripe.txt
b/Projects/Magstripe/Magstripe.txt
index
739f14a
..
a38471a
100644
(file)
--- a/
Projects/Magstripe/Magstripe.txt
+++ b/
Projects/Magstripe/Magstripe.txt
@@
-36,7
+36,7
@@
* </tr>
\r
* <tr>
\r
* <td><b>Usable Speeds:</b></td>
\r
* </tr>
\r
* <tr>
\r
* <td><b>Usable Speeds:</b></td>
\r
- * <td>
Low Speed Mode,
Full Speed Mode</td>
\r
+ * <td>Full Speed Mode</td>
\r
* </tr>
\r
* </table>
\r
*
\r
* </tr>
\r
* </table>
\r
*
\r