From 5f7f945c823b4de1f7ae70e239f426ba54573b2d Mon Sep 17 00:00:00 2001 From: Dean Date: Sun, 28 Jun 2009 13:39:08 +0000 Subject: Added const modifiers to device mode class drivers. Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@636 d5102386-fcda-11dd-9fdb-3debd5008f28 --- LUFA/Drivers/Peripheral/SPI.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'LUFA/Drivers/Peripheral/SPI.h') diff --git a/LUFA/Drivers/Peripheral/SPI.h b/LUFA/Drivers/Peripheral/SPI.h index 66cdaf51..dc8661ad 100644 --- a/LUFA/Drivers/Peripheral/SPI.h +++ b/LUFA/Drivers/Peripheral/SPI.h @@ -90,8 +90,8 @@ /** Initializes the SPI subsystem, ready for transfers. Must be called before calling any other * SPI routines. * - * \param PrescalerMask Prescaler mask to set the SPI clock speed - * \param Master If true, sets the SPI system to use master mode, slave if false + * \param[in] PrescalerMask Prescaler mask to set the SPI clock speed + * \param[in] Master If true, sets the SPI system to use master mode, slave if false */ static inline void SPI_Init(const uint8_t PrescalerMask, const bool Master) { @@ -109,7 +109,7 @@ /** Sends and receives a byte through the SPI interface, blocking until the transfer is complete. * - * \param Byte Byte to send through the SPI interface + * \param[in] Byte Byte to send through the SPI interface * * \return Response byte from the attached SPI device */ @@ -124,7 +124,7 @@ /** Sends a byte through the SPI interface, blocking until the transfer is complete. The response * byte sent to from the attached SPI device is ignored. * - * \param Byte Byte to send through the SPI interface + * \param[in] Byte Byte to send through the SPI interface */ static inline void SPI_SendByte(const uint8_t Byte) ATTR_ALWAYS_INLINE; static inline void SPI_SendByte(const uint8_t Byte) -- cgit v1.2.3