MMCSD Driver API/interface file.
|
| void | MMCSD_init (void) |
| | This function initializes the MMCSD module. More...
|
| |
| void | MMCSD_deinit (void) |
| | This function de-initializes the MMCSD module. More...
|
| |
| void | MMCSD_Params_init (MMCSD_Params *mmcsdParams) |
| | Initialize data structure with defaults. More...
|
| |
| MMCSD_Handle | MMCSD_open (uint32_t index, const MMCSD_Params *openParams) |
| | This function opens a given MMCSD peripheral. More...
|
| |
| void | MMCSD_close (MMCSD_Handle handle) |
| | Function to close a MMCSD peripheral specified by the MMCSD handle. More...
|
| |
| MMCSD_Handle | MMCSD_getHandle (uint32_t index) |
| | This function returns the handle of an open MMCSD Instance from the instance index. More...
|
| |
| int32_t | MMCSD_read (MMCSD_Handle handle, uint8_t *buf, uint32_t startBlk, uint32_t numBlks) |
| | Function to perform block reads from the MMC/SD media. More...
|
| |
| int32_t | MMCSD_write (MMCSD_Handle handle, uint8_t *buf, uint32_t startBlk, uint32_t numBlks) |
| | Function to perform block writes to the MMC/SD media. More...
|
| |
| uint32_t | MMCSD_getBlockSize (MMCSD_Handle handle) |
| | This function returns the block size of the MMC/SD media connected to the MMCSD controller. More...
|
| |
| uint32_t | MMCSD_getBlockCount (MMCSD_Handle handle) |
| | This function returns the block count of User Data Area of the MMC/SD media connected to the MMCSD controller. More...
|
| |
| uint32_t | MMCSD_isHC (MMCSD_Handle handle) |
| | This function returns if the media connected is High Capacity (> 2GB in size) or not. More...
|
| |
| int32_t | MMCSD_enableBootPartition (MMCSD_Handle handle, uint32_t partitionNum) |
| | This function enables the boot partition and gives access to the partition if the connected media is eMMC. This function essentially calls MMCSD_setEcsdBootPartitionEnable and MMCSD_enablePartitionAccess and is there to keep backward compatibility. More...
|
| |
| int32_t | MMCSD_setEcsdBootPartitionEnable (MMCSD_Handle handle, uint32_t partitionNum) |
| | This function enables the boot partition in the ECSD if the connected media is eMMC. More...
|
| |
| int32_t | MMCSD_enablePartitionAccess (MMCSD_Handle handle, uint32_t partitionNum) |
| | This function gives access to the partition if the connected media is eMMC. More...
|
| |
| int32_t | MMCSD_disableBootPartition (MMCSD_Handle handle) |
| | This function disables the boot partition if the connected media is eMMC. More...
|
| |
| uint32_t | MMCSD_getInputClk (MMCSD_Handle handle) |
| | This function returns the input clk frequency MMCSD was programmed at. More...
|
| |