X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/11bb2f21720c2af4b29732ca128963869e5c512c..df31b1fd5b0bfbf02a766d32e23a7af075bf4911:/LUFA/Common/Common.h?ds=sidebyside diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 24ba1f68b..6f64dbdfa 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -57,13 +57,9 @@ /* Includes: */ #include - #include - #include - + #include "FunctionAttributes.h" #include "BoardTypes.h" - - #include /* Public Interface - May be used in end-application: */ /* Macros: */ @@ -121,7 +117,7 @@ * * \ingroup Group_BitManip * - * \param Byte Byte of data whose bits are to be reversed + * \param[in] Byte Byte of data whose bits are to be reversed */ static inline uint8_t BitReverse(uint8_t Byte) ATTR_WARN_UNUSED_RESULT ATTR_CONST; static inline uint8_t BitReverse(uint8_t Byte) @@ -137,7 +133,7 @@ * * \ingroup Group_BitManip * - * \param Word Word of data whose bytes are to be swapped + * \param[in] Word Word of data whose bytes are to be swapped */ static inline uint16_t SwapEndian_16(uint16_t Word) ATTR_WARN_UNUSED_RESULT ATTR_CONST; static inline uint16_t SwapEndian_16(uint16_t Word) @@ -149,7 +145,7 @@ * * \ingroup Group_BitManip * - * \param DWord Double word of data whose bytes are to be swapped + * \param[in] DWord Double word of data whose bytes are to be swapped */ static inline uint32_t SwapEndian_32(uint32_t DWord) ATTR_WARN_UNUSED_RESULT ATTR_CONST; static inline uint32_t SwapEndian_32(uint32_t DWord) @@ -164,8 +160,8 @@ * * \ingroup Group_BitManip * - * \param Data Pointer to a number containing an even number of bytes to be reversed - * \param Bytes Length of the data in bytes + * \param[in,out] Data Pointer to a number containing an even number of bytes to be reversed + * \param[in] Bytes Length of the data in bytes */ static inline void SwapEndian_n(uint8_t* Data, uint8_t Bytes); static inline void SwapEndian_n(uint8_t* Data, uint8_t Bytes)