#include "sdmmc_18xx_43xx.h"
#include "string.h"
Go to the source code of this file.
|
static int32_t | sdmmc_execute_command (uint32_t cmd, uint32_t arg, uint32_t wait_status) |
|
static int32_t | prv_card_acquired (void) |
|
static uint32_t | prv_get_bits (int32_t start, int32_t end, uint32_t *data) |
|
static void | prv_process_csd (void) |
|
static int32_t | prv_set_trans_state (void) |
|
static int32_t | prv_set_card_params (void) |
|
uint32_t | Chip_SDMMC_GetIntStatus (void) |
| Returns the current SD status, clears pending ints, and disables all ints.
|
|
int32_t | Chip_SDMMC_GetState (void) |
| Get card's current state (idle, transfer, program, etc.)
|
|
uint32_t | Chip_SDMMC_Acquire (mci_card_struct *pcardinfo) |
| Function to enumerate the SD/MMC/SDHC/MMC+ cards.
|
|
int32_t | Chip_SDMMC_GetDeviceSize (void) |
| Get the device size of SD/MMC card (after enumeration)
|
|
int32_t | Chip_SDMMC_ReadBlocks (void *buffer, int32_t start_block, int32_t num_blocks) |
| Performs the read of data from the SD/MMC card.
|
|
int32_t | Chip_SDMMC_WriteBlocks (void *buffer, int32_t start_block, int32_t num_blocks) |
| Performs write of data to the SD/MMC card.
|
|
static int32_t prv_card_acquired |
( |
void |
| ) |
|
|
static |
static void prv_process_csd |
( |
void |
| ) |
|
|
static |
static int32_t prv_set_card_params |
( |
void |
| ) |
|
|
static |
static int32_t prv_set_trans_state |
( |
void |
| ) |
|
|
static |