X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/aba7932a5c7c5f4a65f1c8558c94ed313ff3ca96..f595043584d864d2618da62f422cf57ed5eda6f4:/LUFA/Drivers/USB/Core/PipeStream.h diff --git a/LUFA/Drivers/USB/Core/PipeStream.h b/LUFA/Drivers/USB/Core/PipeStream.h index c579631dc..c914fc149 100644 --- a/LUFA/Drivers/USB/Core/PipeStream.h +++ b/LUFA/Drivers/USB/Core/PipeStream.h @@ -363,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 @@ -378,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 @@ -391,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 @@ -404,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 @@ -414,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 @@ -438,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 @@ -448,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: */