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:
2626ecb
)
Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function to USB_Ho...
author
Dean Camera
<dean@fourwalledcubicle.com>
Fri, 13 Nov 2009 10:07:25 +0000
(10:07 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Fri, 13 Nov 2009 10:07:25 +0000
(10:07 +0000)
29 files changed:
Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/CDCHost/CDCHost.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/MouseHost/MouseHost.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/PrinterHost/PrinterHost.c
patch
|
blob
|
blame
|
history
Demos/Host/ClassDriver/StillImageHost/StillImageHost.c
patch
|
blob
|
blame
|
history
Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/Incomplete/RNDISEthernetHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/CDCHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/KeyboardHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/MIDIHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/MassStorageHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/MouseHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/MouseHostWithParser/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
patch
|
blob
|
blame
|
history
LUFA/ManPages/FutureChanges.txt
patch
|
blob
|
blame
|
history
LUFA/ManPages/MigrationInformation.txt
patch
|
blob
|
blame
|
history
Projects/MissileLauncher/ConfigDescriptor.c
patch
|
blob
|
blame
|
history
diff --git
a/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
b/Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
index
101cf15
..
a503f1c
100644
(file)
--- a/
Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
+++ b/
Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
@@
-116,8
+116,8
@@
void MouseHostTask(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/ClassDriver/CDCHost/CDCHost.c
b/Demos/Host/ClassDriver/CDCHost/CDCHost.c
index
e28f2f9
..
42fae01
100644
(file)
--- a/
Demos/Host/ClassDriver/CDCHost/CDCHost.c
+++ b/
Demos/Host/ClassDriver/CDCHost/CDCHost.c
@@
-76,8
+76,8
@@
int main(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.c
b/Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.c
index
f41fbeb
..
037f722
100644
(file)
--- a/
Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.c
+++ b/
Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.c
@@
-81,8
+81,8
@@
int main(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
b/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
index
1b5f8c7
..
ed8f723
100644
(file)
--- a/
Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
+++ b/
Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
@@
-76,8
+76,8
@@
int main(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
index
971dcf2
..
82e18b0
100644
(file)
--- a/
Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
+++ b/
Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
@@
-81,8
+81,8
@@
int main(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
index
9a59be0
..
5fb4c03
100644
(file)
--- a/
Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
+++ b/
Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
@@
-74,8
+74,8
@@
int main(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
b/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
index
e1a0f46
..
94d363f
100644
(file)
--- a/
Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
+++ b/
Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
@@
-74,8
+74,8
@@
int main(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/ClassDriver/MouseHost/MouseHost.c
b/Demos/Host/ClassDriver/MouseHost/MouseHost.c
index
aa04c2e
..
c46bfe9
100644
(file)
--- a/
Demos/Host/ClassDriver/MouseHost/MouseHost.c
+++ b/
Demos/Host/ClassDriver/MouseHost/MouseHost.c
@@
-76,8
+76,8
@@
int main(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
index
ad3dec7
..
289a323
100644
(file)
--- a/
Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
+++ b/
Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
@@
-81,8
+81,8
@@
int main(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c
b/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c
index
f94bf63
..
ac20911
100644
(file)
--- a/
Demos/Host/ClassDriver/PrinterHost/PrinterHost.c
+++ b/
Demos/Host/ClassDriver/PrinterHost/PrinterHost.c
@@
-73,8
+73,8
@@
int main(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/ClassDriver/StillImageHost/StillImageHost.c
b/Demos/Host/ClassDriver/StillImageHost/StillImageHost.c
index
2959af5
..
d5ed71a
100644
(file)
--- a/
Demos/Host/ClassDriver/StillImageHost/StillImageHost.c
+++ b/
Demos/Host/ClassDriver/StillImageHost/StillImageHost.c
@@
-76,8
+76,8
@@
int main(void)
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
uint16_t ConfigDescriptorSize;
\r
uint8_t ConfigDescriptorData[512];
\r
\r
- if (USB_GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
- sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
+ if (USB_
Host_
GetDeviceConfigDescriptor(1, &ConfigDescriptorSize, ConfigDescriptorData,
\r
+
sizeof(ConfigDescriptorData)) != HOST_GETCONFIG_Successful)
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
{
\r
printf("Error Retrieving Configuration Descriptor.\r\n");
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
diff --git
a/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c
b/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c
index
418cb8c
..
b69b8cb
100644
(file)
--- a/
Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c
+++ b/
Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c
@@
-38,7
+38,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/Incomplete/RNDISEthernetHost/ConfigDescriptor.c
b/Demos/Host/Incomplete/RNDISEthernetHost/ConfigDescriptor.c
index
2f9c429
..
ad3976a
100644
(file)
--- a/
Demos/Host/Incomplete/RNDISEthernetHost/ConfigDescriptor.c
+++ b/
Demos/Host/Incomplete/RNDISEthernetHost/ConfigDescriptor.c
@@
-53,7
+53,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/CDCHost/ConfigDescriptor.c
b/Demos/Host/LowLevel/CDCHost/ConfigDescriptor.c
index
d0fc994
..
e956284
100644
(file)
--- a/
Demos/Host/LowLevel/CDCHost/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/CDCHost/ConfigDescriptor.c
@@
-53,7
+53,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c
b/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c
index
f6a1249
..
d38467d
100644
(file)
--- a/
Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c
@@
-53,7
+53,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
b/Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
index
758db8d
..
81a0ba5
100644
(file)
--- a/
Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
@@
-52,7
+52,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint16_t CurrConfigBytesRem;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint16_t CurrConfigBytesRem;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/KeyboardHost/ConfigDescriptor.c
b/Demos/Host/LowLevel/KeyboardHost/ConfigDescriptor.c
index
0bca255
..
d649a2c
100644
(file)
--- a/
Demos/Host/LowLevel/KeyboardHost/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/KeyboardHost/ConfigDescriptor.c
@@
-52,7
+52,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint16_t CurrConfigBytesRem;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint16_t CurrConfigBytesRem;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c
b/Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c
index
01fb09e
..
73e0abe
100644
(file)
--- a/
Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c
@@
-52,7
+52,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint16_t CurrConfigBytesRem;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint16_t CurrConfigBytesRem;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/MIDIHost/ConfigDescriptor.c
b/Demos/Host/LowLevel/MIDIHost/ConfigDescriptor.c
index
631b15f
..
a1a8d28
100644
(file)
--- a/
Demos/Host/LowLevel/MIDIHost/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/MIDIHost/ConfigDescriptor.c
@@
-53,7
+53,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/MassStorageHost/ConfigDescriptor.c
b/Demos/Host/LowLevel/MassStorageHost/ConfigDescriptor.c
index
bbe1464
..
3a53190
100644
(file)
--- a/
Demos/Host/LowLevel/MassStorageHost/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/MassStorageHost/ConfigDescriptor.c
@@
-53,7
+53,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/MouseHost/ConfigDescriptor.c
b/Demos/Host/LowLevel/MouseHost/ConfigDescriptor.c
index
c9aaf87
..
2307673
100644
(file)
--- a/
Demos/Host/LowLevel/MouseHost/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/MouseHost/ConfigDescriptor.c
@@
-52,7
+52,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint16_t CurrConfigBytesRem;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint16_t CurrConfigBytesRem;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/MouseHostWithParser/ConfigDescriptor.c
b/Demos/Host/LowLevel/MouseHostWithParser/ConfigDescriptor.c
index
908aecd
..
b6a1567
100644
(file)
--- a/
Demos/Host/LowLevel/MouseHostWithParser/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/MouseHostWithParser/ConfigDescriptor.c
@@
-52,7
+52,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint16_t CurrConfigBytesRem;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint16_t CurrConfigBytesRem;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c
b/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c
index
8a40e35
..
41df460
100644
(file)
--- a/
Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c
@@
-52,7
+52,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c
b/Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c
index
9b77762
..
8a6dc28
100644
(file)
--- a/
Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c
+++ b/
Demos/Host/LowLevel/StillImageHost/ConfigDescriptor.c
@@
-53,7
+53,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
diff --git
a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.c
b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.c
index
5857fba
..
67e72e6
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.c
+++ b/
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.c
@@
-31,8
+31,8
@@
#include "ConfigDescriptor.h"
\r
\r
#if defined(USB_CAN_BE_HOST)
\r
#include "ConfigDescriptor.h"
\r
\r
#if defined(USB_CAN_BE_HOST)
\r
-uint8_t USB_GetDeviceConfigDescriptor(uint8_t ConfigNumber, uint16_t* const ConfigSizePtr,
\r
- void* BufferPtr, uint16_t BufferSize)
\r
+uint8_t USB_
Host_
GetDeviceConfigDescriptor(uint8_t ConfigNumber, uint16_t* const ConfigSizePtr,
\r
+
void* BufferPtr, uint16_t BufferSize)
\r
{
\r
uint8_t ErrorCode;
\r
uint8_t ConfigHeader[sizeof(USB_Descriptor_Configuration_Header_t)];
\r
{
\r
uint8_t ErrorCode;
\r
uint8_t ConfigHeader[sizeof(USB_Descriptor_Configuration_Header_t)];
\r
diff --git
a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
index
c2dc503
..
76039c7
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
+++ b/
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
@@
-155,7
+155,7
@@
uint8_t USB_GetNextDescriptorComp(uint16_t* BytesRem, void** CurrConfigLoc, ConfigComparatorPtr_t ComparatorRoutine);
\r
\r
/* Enums: */
\r
uint8_t USB_GetNextDescriptorComp(uint16_t* BytesRem, void** CurrConfigLoc, ConfigComparatorPtr_t ComparatorRoutine);
\r
\r
/* Enums: */
\r
- /** Enum for the possible return codes of the \ref USB_GetDeviceConfigDescriptor() function. */
\r
+ /** Enum for the possible return codes of the \ref USB_
Host_
GetDeviceConfigDescriptor() function. */
\r
enum USB_Host_GetConfigDescriptor_ErrorCodes_t
\r
{
\r
HOST_GETCONFIG_Successful = 0, /**< No error occurred while retrieving the configuration descriptor */
\r
enum USB_Host_GetConfigDescriptor_ErrorCodes_t
\r
{
\r
HOST_GETCONFIG_Successful = 0, /**< No error occurred while retrieving the configuration descriptor */
\r
@@
-202,8
+202,8
@@
*
\r
* \return A value from the \ref USB_Host_GetConfigDescriptor_ErrorCodes_t enum
\r
*/
\r
*
\r
* \return A value from the \ref USB_Host_GetConfigDescriptor_ErrorCodes_t enum
\r
*/
\r
- uint8_t USB_GetDeviceConfigDescriptor(uint8_t ConfigNumber, uint16_t* const ConfigSizePtr, void* BufferPtr,
\r
- uint16_t BufferSize) ATTR_NON_NULL_PTR_ARG(2, 3);
\r
+ uint8_t USB_
Host_
GetDeviceConfigDescriptor(uint8_t ConfigNumber, uint16_t* const ConfigSizePtr, void* BufferPtr,
\r
+
uint16_t BufferSize) ATTR_NON_NULL_PTR_ARG(2, 3);
\r
\r
/** Skips to the next sub-descriptor inside the configuration descriptor of the specified type value.
\r
* The bytes remaining value is automatically decremented.
\r
\r
/** Skips to the next sub-descriptor inside the configuration descriptor of the specified type value.
\r
* The bytes remaining value is automatically decremented.
\r
diff --git
a/LUFA/ManPages/FutureChanges.txt
b/LUFA/ManPages/FutureChanges.txt
index
93a9a51
..
5598473
100644
(file)
--- a/
LUFA/ManPages/FutureChanges.txt
+++ b/
LUFA/ManPages/FutureChanges.txt
@@
-33,7
+33,4
@@
* -# AVR32 UC3B series microcontrollers
\r
* -# Atmel ARM7 series microcontrollers
\r
* -# Other (commercial) C compilers
\r
* -# AVR32 UC3B series microcontrollers
\r
* -# Atmel ARM7 series microcontrollers
\r
* -# Other (commercial) C compilers
\r
- * - Extend AVRISP project
\r
- * -# Add alternate USB-to-Serial mode
\r
- * -# Add alternate USB-to-TWI mode
\r
*/
\r
*/
\r
diff --git
a/LUFA/ManPages/MigrationInformation.txt
b/LUFA/ManPages/MigrationInformation.txt
index
e430e2d
..
fe58efa
100644
(file)
--- a/
LUFA/ManPages/MigrationInformation.txt
+++ b/
LUFA/ManPages/MigrationInformation.txt
@@
-16,6
+16,7
@@
* - The HID_PARSE_UsageStackOverflow HID parser error constant is now named \ref HID_PARSE_UsageListOverflow
\r
* - The \ref CALLBACK_HIDParser_FilterHIDReportItem() HID Parser callback now passes a complete HID_ReportItem_t to the
\r
* user application, instead of just its attributes.
\r
* - The HID_PARSE_UsageStackOverflow HID parser error constant is now named \ref HID_PARSE_UsageListOverflow
\r
* - The \ref CALLBACK_HIDParser_FilterHIDReportItem() HID Parser callback now passes a complete HID_ReportItem_t to the
\r
* user application, instead of just its attributes.
\r
+ * - The USB_GetDeviceConfigDescriptor() function was incorrectly named and is now called \ref USB_Host_GetDeviceConfigDescriptor().
\r
*
\r
<b>No Migration information for this release - all library elements are backwards-compatible with 090924.</b>
\r
*
\r
*
\r
<b>No Migration information for this release - all library elements are backwards-compatible with 090924.</b>
\r
*
\r
@@
-29,7
+30,7
@@
* call to SPI_Init() before using the Dataflash driver
\r
*
\r
* <b>Host Mode</b>
\r
* call to SPI_Init() before using the Dataflash driver
\r
*
\r
* <b>Host Mode</b>
\r
- * - The
\ref
USB_GetDeviceConfigDescriptor() function's parameters and behaviour has changed; the user is required to
\r
+ * - The USB_GetDeviceConfigDescriptor() function's parameters and behaviour has changed; the user is required to
\r
* preallocate the largest allowable buffer, and pass the size of the buffer to the function. This allows for a single
\r
* call to the function to retrieve, size check and validate the Configuration Descriptor rather than having the user
\r
* application perform these intermediatary steps.
\r
* preallocate the largest allowable buffer, and pass the size of the buffer to the function. This allows for a single
\r
* call to the function to retrieve, size check and validate the Configuration Descriptor rather than having the user
\r
* application perform these intermediatary steps.
\r
@@
-67,7
+68,7
@@
*
\r
* <b>Host Mode</b>
\r
* - The HIDParser.c module has moved from LUFA/Drivers/USB/Class/ to LUFA/Drivers/USB/Class/Host/.
\r
*
\r
* <b>Host Mode</b>
\r
* - The HIDParser.c module has moved from LUFA/Drivers/USB/Class/ to LUFA/Drivers/USB/Class/Host/.
\r
- * - The
\ref
USB_GetDeviceConfigDescriptor() function now requires the desired configuration index within the device as its first
\r
+ * - The USB_GetDeviceConfigDescriptor() function now requires the desired configuration index within the device as its first
\r
* parameter, to add support for multi-configuration devices. Existing code should use a configuration index of 1 to indicate the
\r
* first configuration descriptor within the device.
\r
* - The non-standard "Ready" host state has been removed. Existing \ref HOST_STATE_Configured code should be moved to the end of
\r
* parameter, to add support for multi-configuration devices. Existing code should use a configuration index of 1 to indicate the
\r
* first configuration descriptor within the device.
\r
* - The non-standard "Ready" host state has been removed. Existing \ref HOST_STATE_Configured code should be moved to the end of
\r
diff --git
a/Projects/MissileLauncher/ConfigDescriptor.c
b/Projects/MissileLauncher/ConfigDescriptor.c
index
0ebf95a
..
95fb599
100644
(file)
--- a/
Projects/MissileLauncher/ConfigDescriptor.c
+++ b/
Projects/MissileLauncher/ConfigDescriptor.c
@@
-53,7
+53,7
@@
uint8_t ProcessConfigurationDescriptor(void)
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
uint8_t FoundEndpoints = 0;
\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */
\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
+ switch (USB_
Host_
GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r
{
\r
case HOST_GETCONFIG_Successful:
\r
break;
\r