From cced334724aec1f39d683adcda6984543095ba8c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 25 Feb 2013 11:58:40 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5318 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/icu_lld.h | 2 +- os/hal/platforms/STM32/sdc_lld.h | 26 -------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) (limited to 'os/hal/platforms') diff --git a/os/hal/platforms/STM32/icu_lld.h b/os/hal/platforms/STM32/icu_lld.h index 253adee4a..5e387eba9 100644 --- a/os/hal/platforms/STM32/icu_lld.h +++ b/os/hal/platforms/STM32/icu_lld.h @@ -222,7 +222,7 @@ typedef enum { typedef uint32_t icufreq_t; /** - * @brief ICU channel. + * @brief ICU channel type. */ typedef enum { ICU_CHANNEL_1 = 0, /**< Use TIMxCH1. */ diff --git a/os/hal/platforms/STM32/sdc_lld.h b/os/hal/platforms/STM32/sdc_lld.h index 4ae6a6163..3336e01f5 100644 --- a/os/hal/platforms/STM32/sdc_lld.h +++ b/os/hal/platforms/STM32/sdc_lld.h @@ -271,32 +271,6 @@ struct SDCDriver { /* Driver macros. */ /*===========================================================================*/ -/** - * @name R1 response utilities - * @{ - */ -/** - * @brief Evaluates to @p TRUE if the R1 response contains error flags. - * - * @param[in] r1 the r1 response - */ -#define MMCSD_R1_ERROR(r1) (((r1) & MMCSD_R1_ERROR_MASK) != 0) - -/** - * @brief Returns the status field of an R1 response. - * - * @param[in] r1 the r1 response - */ -#define MMCSD_R1_STS(r1) (((r1) >> 9) & 15) - -/** - * @brief Evaluates to @p TRUE if the R1 response indicates a locked card. - * - * @param[in] r1 the r1 response - */ -#define MMCSD_R1_IS_CARD_LOCKED(r1) (((r1) >> 21) & 1) -/** @} */ - /*===========================================================================*/ /* External declarations. */ /*===========================================================================*/ -- cgit v1.2.3