Progress with Kinetis SDHC driver (more to to)

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3904 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-08-22 15:42:10 +00:00
parent 1f84a9bc7a
commit a40add6150
9 changed files with 183 additions and 110 deletions
+5 -2
View File
@@ -529,7 +529,10 @@
* Name: SDIO_WAITRESPONSE
*
* Description:
* Poll-wait for the response to the last command to be ready.
* Poll-wait for the response to the last command to be ready. This
* function should be called even after sending commands that have no
* response (such as CMD0) to make sure that the hardware is ready to
* receive the next command.
*
* Input Parameters:
* dev - An instance of the SDIO device interface
@@ -790,7 +793,7 @@ struct sdio_dev_s
/* Command/Status/Data Transfer */
void (*sendcmd)(FAR struct sdio_dev_s *dev, uint32_t cmd, uint32_t arg);
int (*sendcmd)(FAR struct sdio_dev_s *dev, uint32_t cmd, uint32_t arg);
#ifdef CONFIG_SDIO_BLOCKSETUP
void (*blocksetup)(FAR struct sdio_dev_s *dev, unsigned int blocklen,
unsigned int nblocks);