X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3702ba1fb31f265360a0e4cf1736465e44389103..fc31973daffea3506051ce51a5f79383ce0867d6:/LUFA/Drivers/USB/LowLevel/DevChapter9.h?ds=sidebyside diff --git a/LUFA/Drivers/USB/LowLevel/DevChapter9.h b/LUFA/Drivers/USB/LowLevel/DevChapter9.h index c20b0760f..868c3fab2 100644 --- a/LUFA/Drivers/USB/LowLevel/DevChapter9.h +++ b/LUFA/Drivers/USB/LowLevel/DevChapter9.h @@ -28,19 +28,25 @@ this software. */ +/** \file + * \brief USB device standard request management. + * + * This file contains the function prototypes neccesary for the processing of incomming standard control requests + * when the library is in USB device mode. + * + * \note This file should not be included directly. It is automatically included as needed by the USB driver + * dispatch header located in LUFA/Drivers/USB/USB.h. + */ + #ifndef __DEVCHAPTER9_H__ #define __DEVCHAPTER9_H__ /* Includes: */ - #if defined(__AVR32__) - #include - #include - #elif defined(__AVR__) - #include - #include - #include - #include - #endif + #include + #include + #include + #include + #include #include "../HighLevel/StdDescriptors.h" #include "../HighLevel/Events.h" @@ -75,11 +81,7 @@ enum USB_DescriptorMemorySpaces_t { MEMSPACE_FLASH = 0, /**< Indicates the requested descriptor is located in FLASH memory */ - - #if defined(__AVR__) || defined(__DOXYGEN__) MEMSPACE_EEPROM = 1, /**< Indicates the requested descriptor is located in EEPROM memory */ - #endif - MEMSPACE_RAM = 2, /**< Indicates the requested descriptor is located in RAM memory */ }; #endif @@ -102,6 +104,7 @@ * * \note This variable should be treated as read-only in the user application, and never manually * changed in value. + * \n\n * * \note To reduce FLASH usage of the compiled applications where Remote Wakeup is not supported, * this global and the underlying management code can be disabled by defining the @@ -134,10 +137,6 @@ #elif defined(USE_FLASH_DESCRIPTORS) && defined(USE_EEPROM_DESCRIPTORS) && defined(USE_RAM_DESCRIPTORS) #error Only one of the USE_*_DESCRIPTORS modes should be selected. #endif - - #if defined(USE_EEPROM_DESCRIPTORS) && defined(USB_SERIES_UC3B_AVR) - #error USE_EEPROM_DESCRIPTORS is not available on the UC3B series AVRs. - #endif /* Function Prototypes: */ void USB_Device_ProcessControlRequest(void);