Ensure device address latch bit is not set at the same time as the new address, as...
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / USBController.h
index f26f773..8fdb24c 100644 (file)
                
                #if defined(USB_CAN_BE_HOST) || defined(__DOXYGEN__)
                        #include "Host.h"
-                       #include "Pipe.h"
                        #include "OTG.h"
+                       #include "Pipe.h"
                        #include "../HighLevel/HostStandardReq.h"
+                       #include "../HighLevel/PipeStream.h"
                #endif
                
                #if defined(USB_CAN_BE_DEVICE) || defined(__DOXYGEN__)
                        #include "Device.h"
                        #include "Endpoint.h"
                        #include "../HighLevel/DeviceStandardReq.h"
+                       #include "../HighLevel/EndpointStream.h"
                #endif
 
        /* Enable C linkage for C++ Compilers: */
                         *                      Valid mode masks are \ref USB_MODE_DEVICE, \ref USB_MODE_HOST or \ref USB_MODE_UID.
                         *
                         *  \param[in] Options  Mask indicating the options which should be used when initializing the USB
-                        *                      interface to control the USB interface's behavior. This should be comprised of
+                        *                      interface to control the USB interface's behaviour. This should be comprised of
                         *                      a USB_OPT_REG_* mask to control the regulator, a USB_OPT_*_PLL mask to control the
                         *                      PLL, and a USB_DEVICE_OPT_* mask (when the device mode is enabled) to set the device
                         *                      mode speed.
                         */
                        void USB_ResetInterface(void);
 
-               /* Enums: */
-                       /** Enum for error codes relating to the powering on of the USB interface. These error codes are
-                        *  used in the ErrorCode parameter value of the \ref EVENT_USB_InitFailure() event.
-                        */
-                       enum USB_InitErrorCodes_t
-                       {
-                               USB_INITERROR_NoUSBModeSpecified       = 0, /**< Indicates that \ref USB_Init() was called with an
-                                                                            *   invalid or missing Mode parameter.
-                                                                            */
-                       };
-
                /* Global Variables: */
                        #if (!defined(USB_HOST_ONLY) && !defined(USB_DEVICE_ONLY)) || defined(__DOXYGEN__)
                                /** Indicates the mode that the USB interface is currently initialized to. This value will be