+ \r
+ #if defined(__DOXYGEN__)\r
+ /** Alias for \ref SPI_Transfer(), for compatibility with legacy LUFA applications. */\r
+ static inline uint8_t SPI_TransferByte(const uint8_t Byte) ATTR_DEPRECATED;\r
+\r
+ /** Alias for \ref SPI_Send(), for compatibility with legacy LUFA applications. */\r
+ static inline void SPI_SendByte(const uint8_t Byte) ATTR_DEPRECATED;\r
+\r
+ /** Alias for \ref SPI_Receive(), for compatibility with legacy LUFA applications. */\r
+ static inline uint8_t SPI_ReceiveByte(void) ATTR_DEPRECATED;\r
+ #else\r
+ #define SPI_TransferByte(x) SPI_Transfer(x)\r
+ #define SPI_SendByte(x) SPI_Send(x)\r
+ #define SPI_ReceiveByte() SPI_Receive()\r
+ #endif\r