Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request.
Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
This commit is contained in:
		
							parent
							
								
									31a34154db
								
							
						
					
					
						commit
						8b053d6ba5
					
				
					 75 changed files with 156 additions and 55 deletions
				
			
		| 
						 | 
				
			
			@ -11,7 +11,16 @@
 | 
			
		|||
 *  areas relevant to making older projects compatible with the API changes of each new release.
 | 
			
		||||
 *
 | 
			
		||||
 * \section Sec_Migration100513 Migrating from 100513 to XXXXXX
 | 
			
		||||
 *  N/A
 | 
			
		||||
 *
 | 
			
		||||
 *  <b>USB Core</b>
 | 
			
		||||
 *    - A new USB driver source file, Drivers/USB/LowLevel/Device.c now exists. This source file should be added to all project
 | 
			
		||||
 *      makefiles using the USB driver of LUFA.
 | 
			
		||||
 *
 | 
			
		||||
 *  <b>Device Mode</b>
 | 
			
		||||
 *    - The USB_Device_IsRemoteWakeupSent() macro has been removed, as the remote wakeup request is now fully handled by the
 | 
			
		||||
 *      enhanced \ref USB_Device_SendRemoteWakeup() function. Existing code may now discard any checks to USB_Device_IsRemoteWakeupSent().
 | 
			
		||||
 *    - The USB_Device_IsUSBSuspended() macro has been removed, as it is obsolete. Existing code should compare \ref USB_DeviceState
 | 
			
		||||
 *      to see if it the device is in the \ref DEVICE_STATE_Suspended state instead.
 | 
			
		||||
 *
 | 
			
		||||
 * \section Sec_Migration100513 Migrating from 100219 to 100513
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue