diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-06-28 13:39:08 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-06-28 13:39:08 +0000 |
| commit | 5f7f945c823b4de1f7ae70e239f426ba54573b2d (patch) | |
| tree | 9a5f31cc5ff9c648d7ce63f1d9e8afab763d2801 /LUFA/Drivers/Peripheral/SPI.h | |
| parent | e4b2c4c5316d64bfcb30b521504798482a7e1c82 (diff) | |
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
Diffstat (limited to 'LUFA/Drivers/Peripheral/SPI.h')
| -rw-r--r-- | LUFA/Drivers/Peripheral/SPI.h | 8 |
1 files changed, 4 insertions, 4 deletions
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)
|
