Data Structures |
| struct | _MMCFCB |
| | Local multimedia card mount information. More...
|
Defines |
| #define | MMC_BLOCK_SIZE 512 |
| | Block size.
|
| #define | MMC_MAX_INIT_POLLS 512 |
| | Card init timeout.
|
| #define | MMC_MAX_RESET_RETRIES 2 |
| | Card reset timeout.
|
| #define | MMC_MAX_WRITE_RETRIES 2 |
| | Card write retries.
|
| #define | MMC_MAX_READ_RETRIES MMC_MAX_WRITE_RETRIES |
| | Card read retries.
|
| #define | MMC_MAX_CMDACK_POLLS 1024 |
| | Command acknowledge timeout.
|
| #define | MMC_MAX_READY_POLLS 800 |
| | Card busy timeout.
|
Typedefs |
| typedef struct _MMCFCB | MMCFCB |
| | Local multimedia card status information.
|
Functions |
| int | SpiMmcBlockRead (NUTFILE *nfp, void *buffer, int num) |
| | Read data blocks from a mounted partition.
|
| int | SpiMmcBlockWrite (NUTFILE *nfp, const void *buffer, int num) |
| | Write data blocks to a mounted partition.
|
| int | SpiMmcBlockWrite_P (NUTFILE *nfp, PGM_P buffer, int num) |
| | Write data blocks from program space to a mounted partition.
|
| int | SpiMmcUnmount (NUTFILE *nfp) |
| | Unmount a previously mounted partition.
|
| NUTFILE * | SpiMmcMount (NUTDEVICE *dev, const char *name, int mode, int acc) |
| | Mount a partition.
|
| int | SpiMmcIOCtl (NUTDEVICE *dev, int req, void *conf) |
| | Perform MMC control functions.
|
| int | SpiMmcInit (NUTDEVICE *dev) |
| | Initialize MMC driver.
|