diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-26 18:18:14 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-26 18:18:14 +0000 |
commit | 9492ff4976cb9e8af40c9a6715b7d9f7ef5f9428 (patch) | |
tree | 1f6a61a57f6502c1c072cc1f0834da6d006919df /os/hal/include | |
parent | 853b0fd51c80d9b8640639321a950f16800d57d4 (diff) | |
download | ChibiOS-9492ff4976cb9e8af40c9a6715b7d9f7ef5f9428.tar.gz ChibiOS-9492ff4976cb9e8af40c9a6715b7d9f7ef5f9428.tar.bz2 ChibiOS-9492ff4976cb9e8af40c9a6715b7d9f7ef5f9428.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4349 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/sdc.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/os/hal/include/sdc.h b/os/hal/include/sdc.h index d2624d306..0b2098dc5 100644 --- a/os/hal/include/sdc.h +++ b/os/hal/include/sdc.h @@ -106,20 +106,6 @@ /* Driver data structures and types. */
/*===========================================================================*/
-/**
- * @brief Driver state machine possible states.
- */
-typedef enum {
- SDC_UNINIT = 0, /**< Not initialized. */
- SDC_STOP = 1, /**< Stopped. */
- SDC_READY = 2, /**< Ready. */
- SDC_CONNECTING = 3, /**< Card connection in progress. */
- SDC_DISCONNECTING = 4, /**< Card disconnection in progress. */
- SDC_ACTIVE = 5, /**< Cart initialized. */
- SDC_READING = 6, /**< Read operation in progress. */
- SDC_WRITING = 7, /**< Write operation in progress. */
-} sdcstate_t;
-
#include "sdc_lld.h"
/*===========================================================================*/
@@ -131,16 +117,6 @@ typedef enum { * @{
*/
/**
- * @brief Returns the driver state.
- *
- * @param[in] sdcp pointer to the @p SDCDriver object
- * @return The driver state.
- *
- * @api
- */
-#define sdcGetDriverState(sdcp) ((sdcp)->state)
-
-/**
* @brief Returns the card insertion status.
* @note This macro wraps a low level function named
* @p sdc_lld_is_card_inserted(), this function must be
@@ -171,16 +147,6 @@ typedef enum { * @api
*/
#define sdcIsWriteProtected(sdcp) (sdc_lld_is_write_protected(sdcp))
-
-/**
- * @brief Returns the card capacity in blocks.
- *
- * @param[in] sdcp pointer to the @p SDCDriver object
- * @return The card capacity.
- *
- * @api
- */
-#define sdcGetCardCapacity(sdcp) ((sdcp)->capacity)
/** @} */
/*===========================================================================*/
|