![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <mmc.h>
Data Fields | |
| DEVICE | device |
| The Device entry for this MMC. | |
| uint32_t | mmcid |
| Unique Id of this MMC in the MMC table. | |
| uint32_t | mmcstate |
| MMC state (eg MMC_STATE_INSERTED). | |
| mmc_device_initialize_proc | deviceinitialize |
| A Device specific DeviceInitialize method implementing a standard MMC device interface (Or nil if the default method is suitable). | |
| mmc_device_deinitialize_proc | devicedeinitialize |
| A Device specific DeviceDeinitialize method implementing a standard MMC device interface (Or nil if the default method is suitable). | |
| mmc_device_get_card_detect_proc | devicegetcarddetect |
| A Device specific DeviceGetCardDetect method implementing a standard MMC device interface (Or nil if the default method is suitable). | |
| mmc_device_get_write_protect_proc | devicegetwriteprotect |
| A Device specific DeviceGetWriteProtect method implementing a standard MMC device interface (Or nil if the default method is suitable). | |
| mmc_device_send_command_proc | devicesendcommand |
| A Device specific DeviceSendCommand method implementing a standard MMC device interface (Or nil if the default method is suitable). | |
| mmc_device_set_ios_proc | devicesetios |
| A Device specific DeviceSetIOS method implementing a standard MMC device interface (Or nil if the default method is suitable). | |
| uint32_t | commandcount |
| uint32_t | commanderrors |
| MUTEX_HANDLE | lock |
| Device lock. | |
| uint32_t | version |
| uint32_t | clock |
| uint32_t | timing |
| uint32_t | buswidth |
| uint32_t | drivertype |
| uint32_t | signalvoltage |
| uint32_t | voltages |
| uint32_t | capabilities |
| uint32_t | capabilities2 |
| uint32_t | erasesize |
| Erase Size in Sectors. | |
| uint32_t | eraseshift |
| uint32_t | eraseargument |
| uint32_t | preferrederasesize |
| Preferred Erase Size in Sectors. | |
| LONGBOOL | enhancedstrobe |
| uint32_t | interfacecondition |
| Interface Condition Result. | |
| uint32_t | operationcondition |
| Operation Condition Register (OCR). | |
| uint32_t | relativecardaddress |
| Relative Card Address (RCA) (Word). | |
| uint32_t | cardspecific [4] |
| Card Specific Data (CSD). | |
| uint32_t | cardidentification [4] |
| Card Identification Data (CID). | |
| uint8_t * | extendedcardspecific |
| Extended Card Specific Data (EXTCSD). | |
| uint32_t | cardstatus |
| Card Status Register (CSR). | |
| uint32_t | driverstage |
| Driver Stage Register (DSR) (Word). | |
| uint32_t | sdstatus [16] |
| SD Status Register (SSR). | |
| uint32_t | sdswitch [16] |
| SD Switch Status. | |
| uint32_t | sdconfiguration [2] |
| SD Configuration Register (SCR). | |
| MMC_CARD_SPECIFIC_DATA | cardspecificdata |
| MMC_CARD_IDENTIFICATION_DATA | cardidentificationdata |
| MMC_EXTENDED_CARD_SPECIFIC_DATA | extendedcardspecificdata |
| SD_STATUS_DATA | sdstatusdata |
| SD_SWITCH_DATA | sdswitchdata |
| SD_CONFIGURATION_DATA | sdconfigurationdata |
| SDIO_CCCR * | cccr |
| SDIO Common Card Register Information. | |
| SDIO_CIS * | cis |
| SDIO Common CIS (Card Information Structure) Information. | |
| SDIO_TUPLE * | tuples |
| SDIO CIS (Card Information Structure) tuples on this MMC. | |
| uint32_t | sdiocount |
| SDIO function count for this MMC (Where Applicable). | |
| SDIO_FUNCTION * | sdiofunctions [SDIO_MAX_FUNCTIONS] |
| SDIO functions on this MMC (Where Applicable). | |
| SDIO_FUNCTION * | sdiointerruptfunction |
| SDIO function for all interrupts (If only one interrupt is registered). | |
| STORAGE_DEVICE * | storage |
| The Storage entry for this MMC (Where Applicable). | |
| MMC_DEVICE * | prev |
| Previous entry in MMC table. | |
| MMC_DEVICE * | next |
| Next entry in MMC table. | |
| DEVICE device |
The Device entry for this MMC.
| uint32_t mmcid |
Unique Id of this MMC in the MMC table.
| uint32_t mmcstate |
MMC state (eg MMC_STATE_INSERTED).
| mmc_device_initialize_proc deviceinitialize |
A Device specific DeviceInitialize method implementing a standard MMC device interface (Or nil if the default method is suitable).
| mmc_device_deinitialize_proc devicedeinitialize |
A Device specific DeviceDeinitialize method implementing a standard MMC device interface (Or nil if the default method is suitable).
| mmc_device_get_card_detect_proc devicegetcarddetect |
A Device specific DeviceGetCardDetect method implementing a standard MMC device interface (Or nil if the default method is suitable).
| mmc_device_get_write_protect_proc devicegetwriteprotect |
A Device specific DeviceGetWriteProtect method implementing a standard MMC device interface (Or nil if the default method is suitable).
| mmc_device_send_command_proc devicesendcommand |
A Device specific DeviceSendCommand method implementing a standard MMC device interface (Or nil if the default method is suitable).
| mmc_device_set_ios_proc devicesetios |
A Device specific DeviceSetIOS method implementing a standard MMC device interface (Or nil if the default method is suitable).
| uint32_t commandcount |
| uint32_t commanderrors |
| MUTEX_HANDLE lock |
Device lock.
| uint32_t version |
| uint32_t clock |
| uint32_t timing |
| uint32_t buswidth |
| uint32_t drivertype |
| uint32_t signalvoltage |
| uint32_t voltages |
| uint32_t capabilities |
| uint32_t capabilities2 |
| uint32_t erasesize |
Erase Size in Sectors.
| uint32_t eraseshift |
| uint32_t eraseargument |
| uint32_t preferrederasesize |
Preferred Erase Size in Sectors.
| LONGBOOL enhancedstrobe |
| uint32_t interfacecondition |
Interface Condition Result.
| uint32_t operationcondition |
Operation Condition Register (OCR).
| uint32_t relativecardaddress |
Relative Card Address (RCA) (Word).
| uint32_t cardspecific[4] |
Card Specific Data (CSD).
| uint32_t cardidentification[4] |
Card Identification Data (CID).
| uint8_t* extendedcardspecific |
Extended Card Specific Data (EXTCSD).
| uint32_t cardstatus |
Card Status Register (CSR).
| uint32_t driverstage |
Driver Stage Register (DSR) (Word).
| uint32_t sdstatus[16] |
SD Status Register (SSR).
| uint32_t sdswitch[16] |
SD Switch Status.
| uint32_t sdconfiguration[2] |
SD Configuration Register (SCR).
| MMC_CARD_SPECIFIC_DATA cardspecificdata |
| MMC_CARD_IDENTIFICATION_DATA cardidentificationdata |
| MMC_EXTENDED_CARD_SPECIFIC_DATA extendedcardspecificdata |
| SD_STATUS_DATA sdstatusdata |
| SD_SWITCH_DATA sdswitchdata |
| SD_CONFIGURATION_DATA sdconfigurationdata |
| SDIO_CCCR* cccr |
SDIO Common Card Register Information.
| SDIO_CIS* cis |
SDIO Common CIS (Card Information Structure) Information.
| SDIO_TUPLE* tuples |
SDIO CIS (Card Information Structure) tuples on this MMC.
| uint32_t sdiocount |
SDIO function count for this MMC (Where Applicable).
| SDIO_FUNCTION* sdiofunctions[SDIO_MAX_FUNCTIONS] |
SDIO functions on this MMC (Where Applicable).
| SDIO_FUNCTION* sdiointerruptfunction |
SDIO function for all interrupts (If only one interrupt is registered).
| STORAGE_DEVICE* storage |
The Storage entry for this MMC (Where Applicable).
| MMC_DEVICE* prev |
Previous entry in MMC table.
| MMC_DEVICE* next |
Next entry in MMC table.