Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
This commit is contained in:
		
							parent
							
								
									2c404e5af5
								
							
						
					
					
						commit
						110711598a
					
				
					 84 changed files with 171 additions and 235 deletions
				
			
		| 
						 | 
				
			
			@ -53,6 +53,7 @@
 | 
			
		|||
  *   - Altered the USB_Host_SetDeviceConfiguration() function to update the global Host state machine state and the new
 | 
			
		||||
  *     USB_Host_ConfigurationNumber global as required
 | 
			
		||||
  *   - Added endian correcting code to the library USB class drivers for multiple architecture support
 | 
			
		||||
  *   - Removed the ENDPOINT_DESCRIPTOR_DIR_* macros, replaced by ENDPOINT_DIR_* instead
 | 
			
		||||
  *  - Library Applications:
 | 
			
		||||
  *   - Modified the Low Level and Class Driver AudioInput and AudioOutput demos to support multiple audio sample rates
 | 
			
		||||
  *   - Updated all host mode demos and projects to use the EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,33 +23,8 @@
 | 
			
		|||
 *    - The \c USB_ConfigurationNumber, \c USB_RemoteWakeupEnabled and \c USB_CurrentlySelfPowered globals have been renamed to
 | 
			
		||||
 *      \ref USB_Device_ConfigurationNumber, \ref USB_Device_RemoteWakeupEnabled and \ref USB_Device_CurrentlySelfPowered to clearly indicate
 | 
			
		||||
 *      the USB mode they relate to. Existing applications using these variables should rename all references to the previous names.
 | 
			
		||||
 *
 | 
			
		||||
 *  <b>Host Mode</b>
 | 
			
		||||
 *    - The USB_Host_SetDeviceConfiguration() function now automatically sets the USB Host state machine to the \ref HOST_STATE_Configured
 | 
			
		||||
 *      state if a non-zero configuration is set sucessfully, or the \ref HOST_STATE_Addressed if a zero-index configuration is specified. Existing
 | 
			
		||||
 *      applications should no longer manually alter the \ref USB_HostState global, and should instead call this function to configure and
 | 
			
		||||
 *      unconfigure an attached device.
 | 
			
		||||
 *    - The \c HOST_STATE_WaitForDeviceRemoval and \c HOST_STATE_Suspended host state machine states have been removed; these are replaced by
 | 
			
		||||
 *      unconfiguring the attached device via a call to \ref USB_Host_SetDeviceConfiguration() and a test of \ref USB_Host_IsBusSuspended() instead.
 | 
			
		||||
 *    - It is highly recommended that the EVENT_USB_Host_DeviceEnumerationComplete() event callback now be used for initial device configuration,
 | 
			
		||||
 *      rather than a switch on the USB host state machine state for readability.
 | 
			
		||||
 *
 | 
			
		||||
 *  \section Sec_Migration110528 Migrating from 101122 to 110528
 | 
			
		||||
 *  <b>Non-USB Library Components</b>
 | 
			
		||||
 *    - The TWI driver \ref TWI_StartTransmission() function return type has now changed, so that the function returns an
 | 
			
		||||
 *      error code from the \ref TWI_ErrorCodes_t enum instead of a boolean success flag. Existing code must now check
 | 
			
		||||
 *      against the \ref TWI_ERROR_NoError return value for success instead of a boolean \c true value, or it will not function
 | 
			
		||||
 *      correctly.
 | 
			
		||||
 *    - The Serial Stream driver has been removed, and its functionality rolled into the regular serial driver. Existing code
 | 
			
		||||
 *      should remove references to the \c LUFA_SRC_SERIALSTREAM module in their makefiles, include the regular Serial driver
 | 
			
		||||
 *      header instead and call the regular \ref Serial_Init() function followed by the new \ref Serial_CreateStream() function
 | 
			
		||||
 *      with a \c NULL parameter.
 | 
			
		||||
 *    - The \ref Serial_ReceiveByte() function has changed, and now returns a signed 16-bit integer, with -1 indicating no data was
 | 
			
		||||
 *      received.
 | 
			
		||||
 *    - The TWI driver \ref TWI_Init() function now expects additional prescaler and bitlength parameters. See the function
 | 
			
		||||
 *      documentation for more details.
 | 
			
		||||
 *    - The name postfix on all driver modules to turn off and disable that module has been changed from *_ShutDown() to *_Disable().
 | 
			
		||||
 *      Rename all references to these functions to use the new function names.
 | 
			
		||||
 *    - The \c ENDPOINT_DESCRIPTOR_DIR_IN and \c ENDPOINT_DESCRIPTOR_DIR_OUT macros have now been replaced by \ref ENDPOINT_DIR_IN and
 | 
			
		||||
 *      \ref ENDPOINT_DIR_OUT to improve code clarity.
 | 
			
		||||
 *
 | 
			
		||||
 *  <b>USB Core</b>
 | 
			
		||||
 *    - By default, unordered Endpoint and Pipe configuration is now allowed once again, via the previous workaround of
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue