Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								eb41086947 
								
							 
						 
						
							
							
								
								Fix demos based on the device mode HID class driver, as well as the driver itself. Changed HID device class driver to require the user to give a buffer and size to hold the previously generated report, for comparison purposes, and altered the prototype of the CALLBACK_HID_Device_CreateHIDReport() function so that reports can be sent to the host even if there are no apparent changes (useful for relative movements in mice, etc.).  
							
							
							
						 
						
							2009-07-31 03:22:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								a789619fbe 
								
							 
						 
						
							
							
								
								Renamed USB_Device_SetHighSpeed() to USB_Device_SetFullSpeed() so that the correct terminology is used (thanks to Brian Dickman).  
							
							... 
							
							
							
							Fix USB_PLL_Off() call in the series 4, 6 and 7 microcontroller disconnect interrupt handler code, which wasn't guarded by a test of USB_Options to check if the user has specified manual PLL control (thanks to Brian Dickman). 
							
						 
						
							2009-07-31 00:35:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								7df6b9563c 
								
							 
						 
						
							
							
								
								Add new HID_Device_MillisecondElapsed() function to the HID device Class driver, to move the burden of managing the Idle period of each instance to the library and not the user application.  
							
							
							
						 
						
							2009-07-30 14:59:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								7227e133a9 
								
							 
						 
						
							
							
								
								Ensure that the previous HID reports in the HID device class driver are kept per-instance, rather than per-device.  
							
							
							
						 
						
							2009-07-30 14:40:42 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								72932e2780 
								
							 
						 
						
							
							
								
								Fix to HID device mode Class driver, so that new reports are compared against the old, and updated reports made within the idle period are sent immediately to the host.  
							
							
							
						 
						
							2009-07-30 14:35:42 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								41babf1cb7 
								
							 
						 
						
							
							
								
								Fix incorrect configuration in the ClassDriver AudioOutput demo.  
							
							... 
							
							
							
							Make all audio device Class Driver functions require a reference to the Audio class instance, so that the endpoint size can be checked (and to standardize the APIs).
Make LEDs more responsive in the AudioOutput device demos. 
							
						 
						
							2009-07-30 14:06:52 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								5ca1d7bf8f 
								
							 
						 
						
							
							
								
								Fix redefinition warning when USB_DEVICE_ONLY is set on an AVR which does not support USB host mode.  
							
							
							
						 
						
							2009-07-30 07:45:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								fef185a409 
								
							 
						 
						
							
							
								
								Cleanup USBMode.h to simplify preprocessor logic.  
							
							
							
						 
						
							2009-07-29 02:49:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								6928f17b64 
								
							 
						 
						
							
							
								
								Extend the automatic serial number descriptor code to read out and send all 10 bytes (20 characters) of the internal serial number on supported AVRs, rather than just the first 6 bytes (12 characters).  
							
							
							
						 
						
							2009-07-28 16:12:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								7f3f39b575 
								
							 
						 
						
							
							
								
								Fixed report data alignment issues in the MouseHostWithParser demo when X and Y movement data size is not a multiple of 8 bits.  
							
							... 
							
							
							
							Fixed HID Report Descriptor Parser not correctly resetting internal states when a REPORT ID element is encountered. 
							
						 
						
							2009-07-28 15:14:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								e426463355 
								
							 
						 
						
							
							
								
								Better solution - change compile time token names to DEVICE_STATE_AS_GPIOR and HOST_STATE_AS_GPIOR and allow the user to set them to the index of the GPIOR register within the device to use.  
							
							
							
						 
						
							2009-07-28 13:12:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								c1be307393 
								
							 
						 
						
							
							
								
								Added HOST_STATE_AS_GPIOR1 and DEVICE_STATE_AS_GPIOR0 compile time options, the latter of which is used in the bootloaders, to reduce code size.  
							
							
							
						 
						
							2009-07-28 13:01:44 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								864196c884 
								
							 
						 
						
							
							
								
								State information for class drivers is now zeroed out during enumeration (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.  
							
							
							
						 
						
							2009-07-27 23:19:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								b9dd51cd63 
								
							 
						 
						
							
							
								
								Collapse configuration descriptor size retrieval and size testing into a single if statement within the new host mode class driver demos for clarity.  
							
							
							
						 
						
							2009-07-27 10:55:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								84c3c4a3d9 
								
							 
						 
						
							
							
								
								Change Host mode class driver Pipe configuration routines -- better to let the application fetch the configuration descriptors once, and then pass them to each class driver in turn.  
							
							
							
						 
						
							2009-07-27 10:48:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								5251bc6e4e 
								
							 
						 
						
							
							
								
								Add new MouseHost Class Driver demo, unfinished, to allow for better testing of the new prototype Host Mode Class Driver framework. Flesh out start of a HID class Host mode class driver.  
							
							
							
						 
						
							2009-07-27 10:31:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								05fa6e0c43 
								
							 
						 
						
							
							
								
								Corrected new Pipe_IsEndpointBound() function.  
							
							... 
							
							
							
							Completed host CDC class driver enumeration code. 
							
						 
						
							2009-07-26 10:45:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								cbbd3d746a 
								
							 
						 
						
							
							
								
								Added new Pipe_BoundEndpointNumber() and Pipe_IsEndpointBound() functions.  
							
							
							
						 
						
							2009-07-26 10:22:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								5dbfdaa17d 
								
							 
						 
						
							
							
								
								Ensure that the USB_DeviceState variable is properly set upon wakeup events, to the Addressed or Configured state as needed.  
							
							... 
							
							
							
							Add explicit support for the AT90USB646 to the Teensy bootloader now that PJRC have released the Teensy++ board.
Ensure unfinished SideShow demo uses an unallocated PID value within the LUFA range. 
							
						 
						
							2009-07-23 08:00:12 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								7a5d045987 
								
							 
						 
						
							
							
								
								Slight changes to TeensyHID bootloader to ensure it builds under the 2KB boundary.  
							
							... 
							
							
							
							Changed USB_Init() and USB_Shutdown() so that they are no longer dependant on oneanother for possible code savings when the interface is never explicitly shut down. 
							
						 
						
							2009-07-21 13:51:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								e071f3897a 
								
							 
						 
						
							
							
								
								Added new USB_DeviceState variable to keep track of the current Device mode USB state.  
							
							... 
							
							
							
							Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers.
Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality.
Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead.
Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true. 
							
						 
						
							2009-07-21 13:31:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								d0db78432f 
								
							 
						 
						
							
							
								
								Add extra tests to the MassStorage device demo and class driver for validating command blocks from the host.  
							
							
							
						 
						
							2009-07-21 04:46:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								67f390fe74 
								
							 
						 
						
							
							
								
								Add explicit guards to all device mode tasks to ensure the device is connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.  
							
							
							
						 
						
							2009-07-21 02:48:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								292fc9b65e 
								
							 
						 
						
							
							
								
								Move unfinished SideShow source files to nested Lib directory for clarity.  
							
							
							
						 
						
							2009-07-20 14:23:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								f3c061d5c8 
								
							 
						 
						
							
							
								
								Fixed PrinterHost demo Printer_GetDeviceID() routine not removing the Device ID string length from the start of the returned array (thanks to John Andrews).  
							
							... 
							
							
							
							Fixed error in new pipe stream function template system not setting the right device token for R/W operations (also thanks to John Andrews). 
							
						 
						
							2009-07-20 10:19:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								9d2613d908 
								
							 
						 
						
							
							
								
								Fixed incorrect PIPE_EPNUM_MASK mask causing pipe failures on devices with endpoint addresses of 8 and above (thanks to John Andrews).  
							
							
							
						 
						
							2009-07-19 09:04:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								c619e21fa7 
								
							 
						 
						
							
							
								
								Added support for the new ATMEGA32U2, ATMEGA16U2 and ATMEGA8U2 AVR models.  
							
							
							
						 
						
							2009-07-16 08:57:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								32086e4f14 
								
							 
						 
						
							
							
								
								Fix small error in last commit preventing compilation in some circumstances.  
							
							
							
						 
						
							2009-07-16 08:32:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								37f8a84f35 
								
							 
						 
						
							
							
								
								Added new TOTAL_NUM_CONFIGURATIONS option, removed USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility).  
							
							... 
							
							
							
							Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified. 
							
						 
						
							2009-07-16 08:15:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								f85a53a31b 
								
							 
						 
						
							
							
								
								Fix HID class device driver -- if a SetIDle request is issued with the LSB of wValue set to zero, the idle period must be set for all HID interfaces.  
							
							... 
							
							
							
							Fix Keyboard and Mouse demos, Idle period is now multiplied by 4 as the period is read into and sent out of the device to ensure it is always stored as a multiple of 1ms. Fixes Keyboard demo using an initial Idle period of 2s rather than 500ms (thanks to Brian Dickman).
Move out the internal device serial descriptor reading routine into a seperate static function, rather than being part of USB_Device_GetDescriptor. 
							
						 
						
							2009-07-15 05:49:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								da138684e4 
								
							 
						 
						
							
							
								
								Added module file dependancy information to the USB class drivers.  
							
							
							
						 
						
							2009-07-14 07:59:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								312748702a 
								
							 
						 
						
							
							
								
								Added better module summaries.  
							
							
							
						 
						
							2009-07-14 07:33:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								e9215b4b36 
								
							 
						 
						
							
							
								
								Fix broken Pipe stream function templates due to mixed const/no const use in prototypes.  
							
							
							
						 
						
							2009-07-13 12:44:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								73d9fafc0f 
								
							 
						 
						
							
							
								
								Added new EEPROM and FLASH buffer versions of the Endpoint and Pipe stream functions. Changed Endpoint.c and Pipe.c to use a templated system to build the seperate functions, rather than duplicating each function's code many times.  
							
							
							
						 
						
							2009-07-13 12:38:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								0fcbe22c9e 
								
							 
						 
						
							
							
								
								Added new HOST_STATE_WaitForDeviceRemoval host state machine state for non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state.  
							
							... 
							
							
							
							Added verbose documentation for each of the USB Host state machine states. 
							
						 
						
							2009-07-13 05:34:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								a54ed0085b 
								
							 
						 
						
							
							
								
								Seperated out parts of the PrinterHost incomplete demo into a seperate Lib subdirectory.  
							
							... 
							
							
							
							Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected. 
							
						 
						
							2009-07-13 04:46:52 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								f1076ac4d6 
								
							 
						 
						
							
							
								
								Added const modifiers to device mode class drivers.  
							
							... 
							
							
							
							Added parameter directions to function parameter documentation.
Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput). 
							
						 
						
							2009-06-28 13:39:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								3cbdcd3686 
								
							 
						 
						
							
							
								
								Reduce struct name pollution - group typedef struct names by class driver name where appropriate.  
							
							
							
						 
						
							2009-06-26 11:43:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								1756087c3e 
								
							 
						 
						
							
							
								
								Optimize vendor/product description string display code in MassStorageHost.  
							
							... 
							
							
							
							Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed.
Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails.
Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used. 
							
						 
						
							2009-06-26 09:58:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								bb23e55f11 
								
							 
						 
						
							
							
								
								Fixed MassStorage demo not clearing the reset flag when a Mass Storage Reset is issued while not processing a command.  
							
							
							
						 
						
							2009-06-23 08:45:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								a3a04aa671 
								
							 
						 
						
							
							
								
								Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.  
							
							
							
						 
						
							2009-06-23 08:03:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								7f81803aaa 
								
							 
						 
						
							
							
								
								Fixed CDCHost demo unfreezing IN pipes during configuration, rather than during use.  
							
							... 
							
							
							
							Changed Pipe stream functions to automatically set the pipe token, allowing them to be used on bidirectional pipes without having to explicitly call Pipe_SetPipeToken() beforehand. 
							
						 
						
							2009-06-23 07:55:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								7d7573e4e5 
								
							 
						 
						
							
							
								
								Corrected the ADC driver for the ATMEGA16U4 and ATMEGA32U4 (thanks to Opendous Inc.).  
							
							
							
						 
						
							2009-06-22 10:23:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								a34cccf099 
								
							 
						 
						
							
							
								
								Optimize unique serial number reading code for size -- remove atoi/toupper references, replace with hand-rolled code as the input has known size constraints.  
							
							
							
						 
						
							2009-06-21 13:52:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								730624f745 
								
							 
						 
						
							
							
								
								Added new USE_INTERNAL_SERIAL define for using the unique serial numbers in some AVR models as the USB device's serial number, added NO_INTERNAL_SERIAL compile time option to turn off new serial number reading code. Updated Mass Storage and CDC based demos to use the new device serial number if the device it is compiled for supports it.  
							
							
							
						 
						
							2009-06-21 09:22:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								9d506553aa 
								
							 
						 
						
							
							
								
								Trim unique serial number created by the USE_INTERNAL_SERIAL option to 12 characters rather than 20 - apparently Windows will implode if a serial number is too long.  
							
							
							
						 
						
							2009-06-21 08:04:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								00d0883507 
								
							 
						 
						
							
							
								
								Added USE_INTERNAL_SERIAL compile time option to automatically read out the internal unique serial number as the device's serial number descriptor on supported AVR models.  
							
							
							
						 
						
							2009-06-20 11:43:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								35bdada24b 
								
							 
						 
						
							
							
								
								Clean up RNDIS demo type define names.  
							
							
							
						 
						
							2009-06-19 07:29:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								feabfd12ce 
								
							 
						 
						
							
							
								
								Fix makefiles -- the auto-addition of -D switches to each LUFA compile time option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead.  
							
							
							
						 
						
							2009-06-19 05:08:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								dfa547164a 
								
							 
						 
						
							
							
								
								Extend USB_GetDeviceConfigDescriptor() routine to require the configuration number within the device to fetch, to add support for multi-configuration devices.  
							
							
							
						 
						
							2009-06-19 03:37:47 +00:00