aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/mmc_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/mmc_spi.c')
-rw-r--r--os/hal/src/mmc_spi.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/os/hal/src/mmc_spi.c b/os/hal/src/mmc_spi.c
index c1cb313ec..6fb7a8332 100644
--- a/os/hal/src/mmc_spi.c
+++ b/os/hal/src/mmc_spi.c
@@ -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.
@@ -45,7 +45,7 @@
/**
* @brief Inserion monitor timer callback function.
*
- * @param[in] p pointer to the @p MMCDriver object
+ * @param[in] p pointer to the @p MMCDriver object
*/
void tmrfunc(void *p) {
MMCDriver *mmcp = p;
@@ -72,7 +72,7 @@ void tmrfunc(void *p) {
/**
* @brief Waits an idle condition.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
*/
static void wait(MMCDriver *mmcp) {
@@ -98,10 +98,10 @@ static void wait(MMCDriver *mmcp) {
/**
* @brief Sends a command header.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
- * @param cmd[in] the command id
- * @param arg[in] the command argument
+ * @param cmd[in] the command id
+ * @param arg[in] the command argument
*/
static void send_hdr(MMCDriver *mmcp, uint8_t cmd, uint32_t arg) {
uint8_t buf[6];
@@ -120,10 +120,10 @@ static void send_hdr(MMCDriver *mmcp, uint8_t cmd, uint32_t arg) {
/**
* @brief Receives a single byte response.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
* @return The response as an @p uint8_t value.
- * @retval 0xFF timed out.
+ * @retval 0xFF timed out.
*/
static uint8_t recvr1(MMCDriver *mmcp) {
int i;
@@ -139,7 +139,7 @@ static uint8_t recvr1(MMCDriver *mmcp) {
/**
* @brief Sends a command an returns a single byte response.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
* @param cmd[in] the command id
* @param arg[in] the command argument
@@ -157,7 +157,7 @@ static uint8_t send_command(MMCDriver *mmcp, uint8_t cmd, uint32_t arg) {
}
/**
- * @brief Waits that the card reaches an idle state.
+ * @brief Waits that the card reaches an idle state.
*
* @param[in] mmcp pointer to the @p MMCDriver object
*/
@@ -335,7 +335,7 @@ bool_t mmcConnect(MMCDriver *mmcp) {
/**
* @brief Brings the driver in a state safe for card removal.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
* @return The operation status.
* @retval FALSE the operation was successful and the driver is now
@@ -367,9 +367,9 @@ bool_t mmcDisconnect(MMCDriver *mmcp) {
/**
* @brief Starts a sequential read.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
- * @param[in] startblk first block to read
+ * @param[in] startblk first block to read
* @return The operation status.
* @retval FALSE the operation was successful.
* @retval TRUE the operation failed.
@@ -401,7 +401,7 @@ bool_t mmcStartSequentialRead(MMCDriver *mmcp, uint32_t startblk) {
/**
* @brief Reads a block within a sequential read operation.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
* @param[out] buffer pointer to the read buffer
* @return The operation status.
@@ -440,7 +440,7 @@ bool_t mmcSequentialRead(MMCDriver *mmcp, uint8_t *buffer) {
/**
* @brief Stops a sequential read gracefully.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
* @return The operation status.
* @retval FALSE the operation was successful.