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
/* Get the mouse interface from the configuration descriptor */\r
if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,\r
DComp_NextMouseInterface) != DESCRIPTOR_SEARCH_COMP_Found)\r
/* Get the mouse interface from the configuration descriptor */\r
if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,\r
DComp_NextMouseInterface) != DESCRIPTOR_SEARCH_COMP_Found)\r
/* Get the mouse interface's data endpoint descriptor */\r
if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,\r
/* Get the mouse interface's data endpoint descriptor */\r
if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,\r
{\r
/* Descriptor not found, error out */\r
return NoEndpointFound;\r
}\r
\r
/* Retrieve the endpoint address from the endpoint descriptor */\r
{\r
/* Descriptor not found, error out */\r
return NoEndpointFound;\r
}\r
\r
/* Retrieve the endpoint address from the endpoint descriptor */\r
\r
/* Configure the mouse data pipe */\r
Pipe_ConfigurePipe(MOUSE_DATAPIPE, EP_TYPE_INTERRUPT, PIPE_TOKEN_IN,\r
\r
/* Configure the mouse data pipe */\r
Pipe_ConfigurePipe(MOUSE_DATAPIPE, EP_TYPE_INTERRUPT, PIPE_TOKEN_IN,\r