X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/5e7319058268e021ae39ca4b9fcabaec0060117b..e349974aa9fdd6679a385d0da66005a27706b275:/LUFA/Drivers/USB/Core/PipeStream.h diff --git a/LUFA/Drivers/USB/Core/PipeStream.h b/LUFA/Drivers/USB/Core/PipeStream.h index 5c3ab9d45..c914fc149 100644 --- a/LUFA/Drivers/USB/Core/PipeStream.h +++ b/LUFA/Drivers/USB/Core/PipeStream.h @@ -51,6 +51,7 @@ /* Includes: */ #include "../../../Common/Common.h" + #include "USBMode.h" #include "USBTask.h" /* Enable C linkage for C++ Compilers: */ @@ -362,8 +363,11 @@ /** \name Stream functions for EEPROM source/destination data */ //@{ + #if defined(ARCH_HAS_EEPROM_ADDRESS_SPACE) || defined(__DOXYGEN__) /** EEPROM buffer source version of \ref Pipe_Write_Stream_LE(). * + * \note This function is not available on all architectures. + * * \param[in] Buffer Pointer to the source data buffer to read from. * \param[in] Length Number of bytes to read for the currently selected pipe into the buffer. * \param[in] BytesProcessed Pointer to a location where the total number of bytes already processed should @@ -377,6 +381,8 @@ /** EEPROM buffer source version of \ref Pipe_Write_Stream_BE(). * + * \note This function is not available on all architectures. + * * \param[in] Buffer Pointer to the source data buffer to read from. * \param[in] Length Number of bytes to read for the currently selected pipe into the buffer. * \param[in] BytesProcessed Pointer to a location where the total number of bytes already processed should @@ -390,6 +396,8 @@ /** EEPROM buffer source version of \ref Pipe_Read_Stream_LE(). * + * \note This function is not available on all architectures. + * * \param[out] Buffer Pointer to the source data buffer to write to. * \param[in] Length Number of bytes to read for the currently selected pipe to read from. * \param[in] BytesProcessed Pointer to a location where the total number of bytes already processed should @@ -403,6 +411,8 @@ /** EEPROM buffer source version of \ref Pipe_Read_Stream_BE(). * + * \note This function is not available on all architectures. + * * \param[out] Buffer Pointer to the source data buffer to write to. * \param[in] Length Number of bytes to read for the currently selected pipe to read from. * \param[in] BytesProcessed Pointer to a location where the total number of bytes already processed should @@ -413,15 +423,19 @@ uint8_t Pipe_Read_EStream_BE(void* const Buffer, uint16_t Length, uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1); + #endif //@} /** \name Stream functions for PROGMEM source/destination data */ //@{ + #if defined(ARCH_HAS_FLASH_ADDRESS_SPACE) || defined(__DOXYGEN__) /** FLASH buffer source version of \ref Pipe_Write_Stream_LE(). * * \pre The FLASH data must be located in the first 64KB of FLASH for this function to work correctly. * + * \note This function is not available on all architectures. + * * \param[in] Buffer Pointer to the source data buffer to read from. * \param[in] Length Number of bytes to read for the currently selected pipe into the buffer. * \param[in] BytesProcessed Pointer to a location where the total number of bytes already processed should @@ -437,6 +451,8 @@ * * \pre The FLASH data must be located in the first 64KB of FLASH for this function to work correctly. * + * \note This function is not available on all architectures. + * * \param[in] Buffer Pointer to the source data buffer to read from. * \param[in] Length Number of bytes to read for the currently selected pipe into the buffer. * \param[in] BytesProcessed Pointer to a location where the total number of bytes already processed should @@ -447,6 +463,7 @@ uint8_t Pipe_Write_PStream_BE(const void* const Buffer, uint16_t Length, uint16_t* const BytesProcessed) ATTR_NON_NULL_PTR_ARG(1); + #endif //@} /* Disable C linkage for C++ Compilers: */