* the address of the descriptor.\r
* \param[out] MemoryAddressSpace A value from the \ref USB_DescriptorMemorySpaces_t enum to indicate the memory\r
* space in which the descriptor is stored. This parameter does not exist when one\r
- * of the \c USE_*_DESCRIPTORS compile time options is used.\r
+ * of the \c USE_*_DESCRIPTORS compile time options is used, or on architectures which\r
+ * use a unified address space.\r
*\r
* \note By default, the library expects all descriptors to be located in flash memory via the \c PROGMEM attribute.\r
* If descriptors should be located in RAM or EEPROM instead (to speed up access in the case of RAM, or to\r
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,\r
const uint8_t wIndex,\r
const void** const DescriptorAddress\r
- #if !defined(USE_FLASH_DESCRIPTORS) && !defined(USE_EEPROM_DESCRIPTORS) && !defined(USE_RAM_DESCRIPTORS)\r
+ #if (defined(ARCH_HAS_MULTI_ADDRESS_SPACE) || defined(__DOXYGEN__)) && \\r
+ !(defined(USE_FLASH_DESCRIPTORS) || defined(USE_EEPROM_DESCRIPTORS) || defined(USE_RAM_DESCRIPTORS))\r
, uint8_t* MemoryAddressSpace\r
#endif\r
) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);\r
/* Architecture Includes: */\r
#if (ARCH == ARCH_AVR8)\r
#include "AVR8/Device_AVR8.h"\r
- #elif (ARCH == ARCH_UC3B)\r
- #include "UC3B/Device_UC3B.h"\r
+ #elif (ARCH == ARCH_UC3)\r
+ #include "UC3/Device_UC3.h"\r
#endif\r
\r
#endif\r