Fix block read/write return values; SDIO error reporting; slow down clock if interrupt mode

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2278 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2009-11-25 13:50:26 +00:00
parent 70e2fd6f6c
commit c76c6b0e52
5 changed files with 155 additions and 80 deletions
+2 -1
View File
@@ -57,8 +57,9 @@
#define SDIOWAIT_RESPONSEDONE (1 << 1) /* Bit 1: Response to command available */
#define SDIOWAIT_TRANSFERDONE (1 << 2) /* Bit 2: Data transfer/DMA done */
#define SDIOWAIT_TIMEOUT (1 << 3) /* Bit 3: Timeout */
#define SDIOWAIT_ERROR (1 << 4) /* Bit 4: Some other error occurred */
#define SDIOWAIT_ALLEVENTS 0x0f
#define SDIOWAIT_ALLEVENTS 0x1f
/* Media events are used for enable/disable registered event callbacks */