 | RL-ARM User's Guide |  |
|
|
| MCI Driver RoutinesMCI driver routines provide operations to communicate with a memory card in SD-Native mode. The MCI interface routines are not reentrant. | Routine | Description |
|---|
| Init | Initializes the MCI controller. | | UnInit | Uninitializes the MCI controller. | | Delay | Delays a program execution in the driver. | | BusMode | Sets the bus mode to push-pull or open-drain. | | BusWidth | Sets the bus width to 1-bit or 4-bit bus. | | BusSpeed | Set the desired baud rate speed for the MCI interface. | | Command | Sends SD/MMC command. | | ReadBlock | Reads data from SD/MMC memory card. | | WriteBlock | Writes data to SD/MMC memory card. | | SetDma | Sets the DMA for data transfer. | | CheckMedia | Checks the SD/MMC media status (Card Inserted, Write Protected). |
|
|