mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user