added sd_write declaration.

This commit is contained in:
nvt-se 2008-11-10 14:32:49 +00:00
parent 5ff23c0bec
commit 1a6c909736

View file

@ -46,9 +46,9 @@ Berlin, 2007
* @brief MMC-/SD-Card library, Public interface * @brief MMC-/SD-Card library, Public interface
* *
* @author Michael Baar <baar@inf.fu-berlin.de> * @author Michael Baar <baar@inf.fu-berlin.de>
* @version $Revision: 1.4 $ * @version $Revision: 1.5 $
* *
* $Id: sd.h,v 1.4 2008/03/31 13:48:03 nvt-se Exp $ * $Id: sd.h,v 1.5 2008/11/10 14:32:49 nvt-se Exp $
*/ */
/** /**
@ -383,6 +383,10 @@ sd_cache_t *sd_cache_read_block(const uint32_t * blAdr);
uint16_t sd_read(void *pBuffer, uint32_t address, uint16_t size); uint16_t sd_read(void *pBuffer, uint32_t address, uint16_t size);
#endif #endif
#if SD_WRITE
uint16_t sd_write(uint32_t address, void *pBuffer, uint16_t size);
#endif
#endif /*__SD_H__*/ #endif /*__SD_H__*/
/** @} */ /** @} */