Clean up USBController.c/.h to more clearly seperate out host and device setup and...
[pub/lufa.git] / LUFA / Drivers / USB / LowLevel / USBController.h
index 8fdb24c..298141e 100644 (file)
 
        /* Private Interface - For use in library only: */
        #if !defined(__DOXYGEN__)
+               /* Function Prototypes: */
+                       #if defined(__INCLUDE_FROM_USB_CONTROLLER_C)
+                               #if defined(USB_CAN_BE_DEVICE)
+                               static void USB_Init_Device(void);
+                               #endif
+                               
+                               #if defined(USB_CAN_BE_HOST)
+                               static void USB_Init_Host(void);
+                               #endif
+                       #endif
+       
                /* Inline Functions: */
                        static inline void USB_PLL_On(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_PLL_On(void)
                                  return USB_MODE_HOST;
                        }
                        #endif
-                       
+
        #endif
        
        /* Disable C linkage for C++ Compilers: */