aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/mmc_spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/mmc_spi.h')
-rw-r--r--os/hal/include/mmc_spi.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/os/hal/include/mmc_spi.h b/os/hal/include/mmc_spi.h
index e4c3ee157..cc698c3de 100644
--- a/os/hal/include/mmc_spi.h
+++ b/os/hal/include/mmc_spi.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.
@@ -65,7 +65,7 @@
* routines releasing some extra CPU time for the threads with
* lower priority, this may slow down the driver a bit however.
* This option is recommended also if the SPI driver does not
- * use a DMA channel and heavily loads the CPU.
+ * use a DMA channel and heavily loads the CPU.
*/
#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__)
#define MMC_NICE_WAITING TRUE
@@ -73,14 +73,14 @@
/**
* @brief Number of positive insertion queries before generating the
- * insertion event.
+ * insertion event.
*/
#if !defined(MMC_POLLING_INTERVAL) || defined(__DOXYGEN__)
#define MMC_POLLING_INTERVAL 10
#endif
/**
- * @brief Interval, in milliseconds, between insertion queries.
+ * @brief Interval, in milliseconds, between insertion queries.
*/
#if !defined(MMC_POLLING_DELAY) || defined(__DOXYGEN__)
#define MMC_POLLING_DELAY 10
@@ -138,19 +138,19 @@ typedef struct {
*/
const MMCConfig *mmc_config;
/**
- * @brief SPI driver associated to this MMC driver.
+ * @brief SPI driver associated to this MMC driver.
*/
SPIDriver *mmc_spip;
/**
- * @brief SPI low speed configuration used during initialization.
+ * @brief SPI low speed configuration used during initialization.
*/
const SPIConfig *mmc_lscfg;
/**
- * @brief SPI high speed configuration used during transfers.
+ * @brief SPI high speed configuration used during transfers.
*/
const SPIConfig *mmc_hscfg;
/**
- * @brief Write protect status query function.
+ * @brief Write protect status query function.
*/
mmcquery_t mmc_is_protected;
/**
@@ -158,19 +158,19 @@ typedef struct {
*/
mmcquery_t mmc_is_inserted;
/**
- * @brief Card insertion event source.
+ * @brief Card insertion event source.
*/
EventSource mmc_inserted_event;
/**
- * @brief Card removal event source.
+ * @brief Card removal event source.
*/
EventSource mmc_removed_event;
/**
- * @brief MMC insertion polling timer.
+ * @brief MMC insertion polling timer.
*/
VirtualTimer mmc_vt;
/**
- * @brief Insertion counter.
+ * @brief Insertion counter.
*/
uint_fast8_t mmc_cnt;
} MMCDriver;
@@ -180,12 +180,12 @@ typedef struct {
/*===========================================================================*/
/**
- * @brief Returns the driver state.
+ * @brief Returns the driver state.
*/
#define mmcGetDriverState(mmcp) ((mmcp)->mmc_state)
/**
- * @brief Returns the write protect status.
+ * @brief Returns the write protect status.
*/
#define mmcIsWriteProtected(mmcp) ((mmcp)->mmc_is_protected())