From e88d9be726d2d15dbbfa423c67bdc0bb56d41c92 Mon Sep 17 00:00:00 2001 From: Uladzimir Pylinski Date: Wed, 18 Feb 2015 19:38:56 +0000 Subject: SDIO. Added missing comments. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7691 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/sdc.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'os/hal') diff --git a/os/hal/src/sdc.c b/os/hal/src/sdc.c index 115a513c4..f401334e9 100644 --- a/os/hal/src/sdc.c +++ b/os/hal/src/sdc.c @@ -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. * -- cgit v1.2.3