SDIO. Added missing comments.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7691 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Uladzimir Pylinski 2015-02-18 19:38:56 +00:00
parent 7890195f7b
commit e88d9be726
1 changed files with 9 additions and 2 deletions

View File

@ -34,7 +34,9 @@
/*===========================================================================*/
/* Driver local definitions. */
/*===========================================================================*/
/**
* @brief MMC switch mode.
*/
typedef enum {
MMC_SWITCH_COMMAND_SET = 0,
MMC_SWITCH_SET_BITS = 1,
@ -42,11 +44,17 @@ typedef enum {
MMC_SWITCH_WRITE_BYTE = 3,
} mmc_switch_t;
/**
* @brief SDC switch mode.
*/
typedef enum {
SD_SWITCH_CHECK = 0,
SD_SWITCH_SET = 1,
} sd_switch_t;
/**
* @brief SDC switch function.
*/
typedef enum {
SD_SWITCH_FUNCTION_SPEED = 0,
SD_SWITCH_FUNCTION_CMD_SYSTEM = 1,
@ -855,7 +863,6 @@ bool sdcGetInfo(SDCDriver *sdcp, BlockDeviceInfo *bdip) {
return HAL_SUCCESS;
}
/**
* @brief Erases the supplied blocks.
*