Skip to content

Commit 9b094e8

Browse files
gneworldxiaoxiang781216
authored andcommitted
mmcsd:add postsleep fields for mmc_ioc_cmd
Signed-off-by: wanggang26 <[email protected]>
1 parent ef62c70 commit 9b094e8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

include/nuttx/mmcsd.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,16 @@ struct mmc_ioc_cmd
9595
unsigned int blksz;
9696
unsigned int blocks;
9797

98+
/* Sleep at least postsleep_min_us useconds, and at most
99+
* postsleep_max_us useconds *after* issuing command. Needed for
100+
* some read commands for which cards have no other way of indicating
101+
* they're ready for the next command (i.e. there is no equivalent of
102+
* a "busy" indicator for read operations).
103+
*/
104+
105+
unsigned int postsleep_min_us;
106+
unsigned int postsleep_max_us;
107+
98108
/* Override driver-computed timeouts. Note the difference in units! */
99109

100110
unsigned int data_timeout_ns;

0 commit comments

Comments
 (0)