Remove warnings in the documentation for the library class drivers about sequential pipe/endpoint allocation, as by default this is no longer as issue (unless ORDERED_EP_CONFIG is specified).
This commit is contained in:
		
							parent
							
								
									e572ee7ff2
								
							
						
					
					
						commit
						34164a5550
					
				
					 15 changed files with 11 additions and 67 deletions
				
			
		| 
						 | 
				
			
			@ -120,11 +120,6 @@
 | 
			
		|||
			 *  device. This should be called once after the stack has enumerated the attached device, while the host state
 | 
			
		||||
			 *  machine is in the Addressed state.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \note The pipe index numbers as given in the interface's configuration structure must not overlap with any other
 | 
			
		||||
			 *        interface, or pipe bank corruption will occur. Gaps in the allocated pipe numbers or non-sequential indexes
 | 
			
		||||
			 *        within a single interface is allowed, but no two interfaces of any type have have interleaved pipe indexes.
 | 
			
		||||
			 *        \n\n
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in,out] AudioInterfaceInfo      Pointer to a structure containing an Audio Class host configuration and state.
 | 
			
		||||
			 *  \param[in]     ConfigDescriptorSize    Length of the attached device's Configuration Descriptor.
 | 
			
		||||
			 *  \param[in]     DeviceConfigDescriptor  Pointer to a buffer containing the attached device's Configuration Descriptor.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -151,10 +151,6 @@
 | 
			
		|||
			 *  This should be called once after the stack has enumerated the attached device, while the host state machine is in
 | 
			
		||||
			 *  the Addressed state.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \note The pipe index numbers as given in the interface's configuration structure must not overlap with any other
 | 
			
		||||
			 *        interface, or pipe bank corruption will occur. Gaps in the allocated pipe numbers or non-sequential indexes
 | 
			
		||||
			 *        within a single interface is allowed, but no two interfaces of any type have have interleaved pipe indexes.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in,out] CDCInterfaceInfo        Pointer to a structure containing an CDC Class host configuration and state.
 | 
			
		||||
			 *  \param[in]     ConfigDescriptorSize    Length of the attached device's Configuration Descriptor.
 | 
			
		||||
			 *  \param[in]     DeviceConfigDescriptor  Pointer to a buffer containing the attached device's Configuration Descriptor.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -148,11 +148,6 @@
 | 
			
		|||
			 *  device. This should be called once after the stack has enumerated the attached device, while the host state
 | 
			
		||||
			 *  machine is in the Addressed state.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \note The pipe index numbers as given in the interface's configuration structure must not overlap with any other
 | 
			
		||||
			 *        interface, or pipe bank corruption will occur. Gaps in the allocated pipe numbers or non-sequential indexes
 | 
			
		||||
			 *        within a single interface is allowed, but no two interfaces of any type have have interleaved pipe indexes.
 | 
			
		||||
			 *        \n\n
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \note Once the device pipes are configured, the HID device's reporting protocol <b>must</b> be set via a call
 | 
			
		||||
			 *        to either the \ref HID_Host_SetBootProtocol() or \ref HID_Host_SetReportProtocol() function.
 | 
			
		||||
			 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -120,10 +120,6 @@
 | 
			
		|||
			 *  This should be called once after the stack has enumerated the attached device, while the host state machine is in
 | 
			
		||||
			 *  the Addressed state.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \note The pipe index numbers as given in the interface's configuration structure must not overlap with any other
 | 
			
		||||
			 *        interface, or pipe bank corruption will occur. Gaps in the allocated pipe numbers or non-sequential indexes
 | 
			
		||||
			 *        within a single interface is allowed, but no two interfaces of any type have have interleaved pipe indexes.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in,out] MIDIInterfaceInfo       Pointer to a structure containing an MIDI Class host configuration and state.
 | 
			
		||||
			 *  \param[in]     ConfigDescriptorSize    Length of the attached device's Configuration Descriptor.
 | 
			
		||||
			 *  \param[in]     DeviceConfigDescriptor  Pointer to a buffer containing the attached device's Configuration Descriptor.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -137,10 +137,6 @@
 | 
			
		|||
			 *  is found within the device. This should be called once after the stack has enumerated the attached device, while
 | 
			
		||||
			 *  the host state machine is in the Addressed state.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \note The pipe index numbers as given in the interface's configuration structure must not overlap with any other
 | 
			
		||||
			 *        interface, or pipe bank corruption will occur. Gaps in the allocated pipe numbers or non-sequential indexes
 | 
			
		||||
			 *        within a single interface is allowed, but no two interfaces of any type have have interleaved pipe indexes.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in,out] MSInterfaceInfo       Pointer to a structure containing an MS Class host configuration and state.
 | 
			
		||||
			 *  \param[in]     ConfigDescriptorSize  Length of the attached device's Configuration Descriptor.
 | 
			
		||||
			 *  \param[in]     ConfigDescriptorData  Pointer to a buffer containing the attached device's Configuration Descriptor.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -114,24 +114,12 @@
 | 
			
		|||
			};
 | 
			
		||||
 | 
			
		||||
		/* Function Prototypes: */
 | 
			
		||||
			/** General management task for a given Printer host class interface, required for the correct operation of
 | 
			
		||||
			 *  the interface. This should be called frequently in the main program loop, before the master USB management task
 | 
			
		||||
			 *  \ref USB_USBTask().
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in,out] PRNTInterfaceInfo  Pointer to a structure containing a Printer Class host configuration and state.
 | 
			
		||||
			 */
 | 
			
		||||
			void PRNT_Host_USBTask(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);
 | 
			
		||||
 | 
			
		||||
			/** Host interface configuration routine, to configure a given Printer host interface instance using the
 | 
			
		||||
			 *  Configuration Descriptor read from an attached USB device. This function automatically updates the given Printer
 | 
			
		||||
			 *  instance's state values and configures the pipes required to communicate with the interface if it is found within
 | 
			
		||||
			 *  the device. This should be called once after the stack has enumerated the attached device, while the host state
 | 
			
		||||
			 *  machine is in the Addressed state.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \note The pipe index numbers as given in the interface's configuration structure must not overlap with any other
 | 
			
		||||
			 *        interface, or pipe bank corruption will occur. Gaps in the allocated pipe numbers or non-sequential indexes
 | 
			
		||||
			 *        within a single interface is allowed, but no two interfaces of any type have have interleaved pipe indexes.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in,out] PRNTInterfaceInfo       Pointer to a structure containing a Printer Class host configuration and state.
 | 
			
		||||
			 *  \param[in]     ConfigDescriptorSize    Length of the attached device's Configuration Descriptor.
 | 
			
		||||
			 *  \param[in]     DeviceConfigDescriptor  Pointer to a buffer containing the attached device's Configuration Descriptor.
 | 
			
		||||
| 
						 | 
				
			
			@ -142,6 +130,14 @@
 | 
			
		|||
			                                 uint16_t ConfigDescriptorSize,
 | 
			
		||||
			                                 void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(3);
 | 
			
		||||
 | 
			
		||||
			/** General management task for a given Printer host class interface, required for the correct operation of
 | 
			
		||||
			 *  the interface. This should be called frequently in the main program loop, before the master USB management task
 | 
			
		||||
			 *  \ref USB_USBTask().
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in,out] PRNTInterfaceInfo  Pointer to a structure containing a Printer Class host configuration and state.
 | 
			
		||||
			 */
 | 
			
		||||
			void PRNT_Host_USBTask(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);
 | 
			
		||||
 | 
			
		||||
			/** Configures the printer to enable Bidirectional mode, if it is not already in this mode. This should be called
 | 
			
		||||
			 *  once the connected device's configuration has been set, to ensure the printer is ready to accept commands.
 | 
			
		||||
			 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -131,10 +131,6 @@
 | 
			
		|||
			 *  This should be called once after the stack has enumerated the attached device, while the host state machine is in
 | 
			
		||||
			 *  the Addressed state.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \note The pipe index numbers as given in the interface's configuration structure must not overlap with any other
 | 
			
		||||
			 *        interface, or pipe bank corruption will occur. Gaps in the allocated pipe numbers or non-sequential indexes
 | 
			
		||||
			 *        within a single interface is allowed, but no two interfaces of any type have have interleaved pipe indexes.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in,out] RNDISInterfaceInfo      Pointer to a structure containing an RNDIS Class host configuration and state.
 | 
			
		||||
			 *  \param[in]     ConfigDescriptorSize    Length of the attached device's Configuration Descriptor.
 | 
			
		||||
			 *  \param[in]     DeviceConfigDescriptor  Pointer to a buffer containing the attached device's Configuration Descriptor.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -133,10 +133,6 @@
 | 
			
		|||
			 *  found within the device. This should be called once after the stack has enumerated the attached device, while
 | 
			
		||||
			 *  the host state machine is in the Addressed state.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \note The pipe index numbers as given in the interface's configuration structure must not overlap with any other
 | 
			
		||||
			 *        interface, or pipe bank corruption will occur. Gaps in the allocated pipe numbers or non-sequential indexes
 | 
			
		||||
			 *        within a single interface is allowed, but no two interfaces of any type have have interleaved pipe indexes.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in,out] SIInterfaceInfo       Pointer to a structure containing a Still Image Class host configuration and state.
 | 
			
		||||
			 *  \param[in]     ConfigDescriptorSize  Length of the attached device's Configuration Descriptor.
 | 
			
		||||
			 *  \param[in]     ConfigDescriptorData  Pointer to a buffer containing the attached device's Configuration Descriptor.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue