Add stub RFCOMM command handlers. Move out RFCOMM frame length and data pointer calcu...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / Printer.h
index aa650ba..7cd7a17 100644 (file)
                                const struct
                                {
                                        uint8_t  DataINPipeNumber; /**< Pipe number of the Printer interface's IN data pipe */
                                const struct
                                {
                                        uint8_t  DataINPipeNumber; /**< Pipe number of the Printer interface's IN data pipe */
-                                       bool     DataINPipeDoubleBank; /** Indicates if the Printer interface's IN data pipe should use double banking */
+                                       bool     DataINPipeDoubleBank; /**< Indicates if the Printer interface's IN data pipe should use double banking */
 
                                        uint8_t  DataOUTPipeNumber; /**< Pipe number of the Printer interface's OUT data pipe */
 
                                        uint8_t  DataOUTPipeNumber; /**< Pipe number of the Printer interface's OUT data pipe */
-                                       bool     DataOUTPipeDoubleBank; /** Indicates if the Printer interface's OUT data pipe should use double banking */
+                                       bool     DataOUTPipeDoubleBank; /**< Indicates if the Printer interface's OUT data pipe should use double banking */
                                } Config; /**< Config data for the USB class interface within the device. All elements in this section
                                           *   <b>must</b> be set or the interface will fail to enumerate and operate correctly.
                                           */
                                } Config; /**< Config data for the USB class interface within the device. All elements in this section
                                           *   <b>must</b> be set or the interface will fail to enumerate and operate correctly.
                                           */
                         *  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.
                         *
                         *  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.
                         *
-                        *  \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
+                        *  \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
                         *
                         *  \return A value from the \ref PRNTHost_EnumerationFailure_ErrorCodes_t enum
                         */
                         *
                         *  \return A value from the \ref PRNTHost_EnumerationFailure_ErrorCodes_t enum
                         */
                         *  PRNT_PORTSTATUS_* macros to determine the printer port's status.
                         *
                         *  \param[in,out] PRNTInterfaceInfo  Pointer to a structure containing a Printer Class host configuration and state
                         *  PRNT_PORTSTATUS_* macros to determine the printer port's status.
                         *
                         *  \param[in,out] PRNTInterfaceInfo  Pointer to a structure containing a Printer Class host configuration and state
-                        *  \param[out]  PortStatus  Location where the retrieved port status should be stored
+                        *  \param[out]    PortStatus         Location where the retrieved port status should be stored
                         *
                         *  \return A value from the \ref USB_Host_SendControlErrorCodes_t enum
                         */
                         *
                         *  \return A value from the \ref USB_Host_SendControlErrorCodes_t enum
                         */
                         *        call will fail.
                         *
                         *  \param[in,out] PRNTInterfaceInfo  Pointer to a structure containing a Printer Class host configuration and state
                         *        call will fail.
                         *
                         *  \param[in,out] PRNTInterfaceInfo  Pointer to a structure containing a Printer Class host configuration and state
-                        *  \param[in] PrinterCommands  Pointer to a buffer containing the raw command stream to send to the printer
-                        *  \param[in] CommandSize  Size in bytes of the command stream to be sent
+                        *  \param[in]     PrinterCommands    Pointer to a buffer containing the raw command stream to send to the printer
+                        *  \param[in]     CommandSize        Size in bytes of the command stream to be sent
                         *
                         *  \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
                         */
                         *
                         *  \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
                         */
                         *  This string, when supported, contains the model, manufacturer and acceptable printer languages for the attached device.
                         *
                         *  \param[in,out] PRNTInterfaceInfo  Pointer to a structure containing a Printer Class host configuration and state
                         *  This string, when supported, contains the model, manufacturer and acceptable printer languages for the attached device.
                         *
                         *  \param[in,out] PRNTInterfaceInfo  Pointer to a structure containing a Printer Class host configuration and state
-                        *  \param[out] DeviceIDString  Pointer to a buffer where the Device ID string should be stored, in ASCII format
-                        *  \param[in] BufferSize  Size in bytes of the buffer allocated for the Device ID string
+                        *  \param[out]    DeviceIDString     Pointer to a buffer where the Device ID string should be stored, in ASCII format
+                        *  \param[in]     BufferSize         Size in bytes of the buffer allocated for the Device ID string
                         *
                         *  \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
                         */
                         *
                         *  \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
                         */