diff options
Diffstat (limited to 'os/hal/platforms/STM32/spi_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/spi_lld.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/os/hal/platforms/STM32/spi_lld.h b/os/hal/platforms/STM32/spi_lld.h index 46ea4b559..3be86365c 100644 --- a/os/hal/platforms/STM32/spi_lld.h +++ b/os/hal/platforms/STM32/spi_lld.h @@ -1,5 +1,5 @@ /*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -59,7 +59,7 @@ * @brief SPI1 DMA priority (0..3|lowest..highest).
* @note The priority level is used for both the TX and RX DMA channels but
* because of the channels ordering the RX channel has always priority
- * over the TX channel. + * over the TX channel.
*/
#if !defined(SPI1_DMA_PRIORITY) || defined(__DOXYGEN__)
#define STM32_SPI1_DMA_PRIORITY 2
@@ -118,15 +118,15 @@ /*===========================================================================*/
/**
- * @brief Driver configuration structure. + * @brief Driver configuration structure.
*/
typedef struct {
/**
- * @brief The chip select line port. + * @brief The chip select line port.
*/
ioportid_t spc_ssport;
/**
- * @brief The chip select line pad number. + * @brief The chip select line pad number.
*/
uint16_t spc_sspad;
/**
@@ -140,7 +140,7 @@ typedef struct { */
typedef struct {
/**
- * @brief Driver state. + * @brief Driver state.
*/
spistate_t spd_state;
#if SPI_USE_MUTUAL_EXCLUSION || defined(__DOXYGEN__)
@@ -159,11 +159,11 @@ typedef struct { const SPIConfig *spd_config;
/* End of the mandatory fields.*/
/**
- * @brief Thread waiting for I/O completion. + * @brief Thread waiting for I/O completion.
*/
Thread *spd_thread;
/**
- * @brief Pointer to the SPIx registers block. + * @brief Pointer to the SPIx registers block.
*/
SPI_TypeDef *spd_spi;
/**
@@ -175,7 +175,7 @@ typedef struct { */
DMA_Channel_TypeDef *spd_dmatx;
/**
- * @brief DMA priority bit mask. + * @brief DMA priority bit mask.
*/
uint32_t spd_dmaprio;
} SPIDriver;
|