Combined Keyboad and Mouse normal and interrupt driven host demos into unified Keyboard and Mouse host demos.

This commit is contained in:
Dean Camera 2009-03-20 05:39:15 +00:00
parent ee7bd5685e
commit ecf7538430
29 changed files with 200 additions and 5930 deletions

View file

@ -91,6 +91,14 @@ uint8_t ProcessConfigurationDescriptor(void)
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
Pipe_SetInfiniteINRequests();
#if defined(INTERRUPT_DATA_PIPE)
Pipe_SetInterruptPeriod(EndpointData->PollingIntervalMS);
/* Enable the pipe IN interrupt for the data pipe */
USB_INT_Enable(PIPE_INT_IN);
#endif
Pipe_Unfreeze();
/* Valid data found, return success */