![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <mmc.h>
Data Fields | |
| uint8_t | revision |
| Extended CSD revision (192). | |
| uint8_t | cachecontrol |
| Control to turn the Cache ON/OFF (33). | |
| uint8_t | poweroffnotification |
| Power Off Notification (34). | |
| uint8_t | partitionsupport |
| Partitioning Support (160). | |
| uint8_t | hardwareresetfunction |
| H/W reset function (162]). | |
| uint8_t | writereliabilityparameter |
| Write reliability parameter register (166]). | |
| uint8_t | rpmbsizemult |
| RPMB Size Multiplier (168). | |
| uint8_t | erasegroupdef |
| High-density erase group definition (175). | |
| uint8_t | partconfig |
| Partition configuration (179). | |
| uint8_t | erasedmemorycontent |
| Erased memory content (181). | |
| uint8_t | strobesupport |
| Strobe Support (184). | |
| uint8_t | csdstructure |
| CSD STRUCTURE (194). | |
| uint8_t | cardtype |
| Device type (196). | |
| uint8_t | driverstrength |
| I/O Driver Strength (197). | |
| uint8_t | outofinterrupttime |
| Out-of-interrupt busy timing (198). | |
| uint8_t | sectorcount [4] |
| Sector Count (212)(4 bytes). | |
| uint8_t | satimeout |
| Sleep/awake timeout (217). | |
| uint8_t | hcerasegapsize |
| High-capacity write protect group size (221). | |
| uint8_t | reliablesectors |
| Reliable write sector count (222). | |
| uint8_t | erasetimeoutmult |
| High-capacity erase timeout (223). | |
| uint8_t | hcerasegrpsize |
| High-capacity erase unit size (224). | |
| uint8_t | sectrimmult |
| Secure TRIM Multiplier (229). | |
| uint8_t | secerasemult |
| Secure Erase Multiplier (230). | |
| uint8_t | secfeaturesupport |
| Secure Feature support (231). | |
| uint8_t | trimmult |
| TRIM Multiplier (232). | |
| uint8_t | powerclass52mhz195 |
| Power class for 52 MHz at 1.95 V (200). | |
| uint8_t | powerclass26mhz195 |
| Power class for 26 MHz at 1.95 V (201). | |
| uint8_t | powerclass52mhz360 |
| Power class for 52 MHz at 3.6 V (202). | |
| uint8_t | powerclass26mhz360 |
| Power class for 26 MHz at 3.6 V (203). | |
| uint8_t | powerclass200mhz195 |
| Power class for 200MHz, at VCCQ = 1.3V, VCC = 3.6V (236). | |
| uint8_t | powerclass200mhz360 |
| Power class for 200MHz at VCCQ = 1.95V, VCC = 3.6V (237). | |
| uint8_t | powerclassddr52mhz195 |
| Power class for 52MHz, DDR at VCC = 1.95V (238). | |
| uint8_t | powerclassddr52mhz360 |
| Power class for 52MHz, DDR at VCC = 3.6V (239). | |
| uint8_t | powerclassddr200mhz360 |
| Power class for 200MHz, DDR at VCC = 3.6V (253). | |
| uint8_t | bkopsstatus |
| Background operations status (246). | |
| uint8_t | firmwareversion [MMC_FIRMWARE_VERSION_LEN] |
| (254) (8 bytes) | |
| uint8_t | preendoflifeinfo |
| Pre EOL information (267). | |
| uint8_t | devicelifetimeestimatea |
| Device life time estimation type A (268). | |
| uint8_t | devicelifetimeestimateb |
| Device life time estimation type B (269). | |
| uint8_t | maxpackedwrites |
| Max packed write commands (500). | |
| uint8_t | maxpackedreads |
| Max packed read commands (501]). | |
| uint32_t | sectors |
| uint32_t | sleepawaketime |
| 100ns units | |
| uint32_t | partitionswitchtime |
| ms | |
| uint32_t | genericcmd6time |
| 10ms units | |
| uint32_t | powerofflongtime |
| ms | |
| uint32_t | hcerasesize |
| Sectors. | |
| uint32_t | hcerasetimeout |
| Milliseconds. | |
| uint32_t | datasectorsize |
| 512 bytes or 4KB | |
| uint32_t | datatagunitsize |
| uint32_t | hsmaxrate |
| Hz. | |
| uint32_t | hs200maxrate |
| Hz. | |
| uint32_t | availabletypes |
| uint64_t | bootpartitionsize |
| Bytes. | |
| uint64_t | enhancedareaoffset |
| Bytes. | |
| uint64_t | enhancedareasize |
| KB. | |
| uint32_t | cachesize |
| KB. | |
| BOOL | partitionsettingcompleted |
| Enable Bit. | |
| uint32_t | trimtimeout |
| Milliseconds. | |
| uint64_t | partitionsizes [MMC_NUM_GP_PARTITION] |
| Bytes. | |
| uint32_t | bootreadonlysupport |
| Read Only Lock Support. | |
| BOOL | bootreadonlylockable |
| BOOL | fieldfirmwareupdate |
| Firmware upgrade support. | |
| BOOL | commandqueuesupport |
| Command Queue supported. | |
| uint32_t | commandqueuedepth |
| Command Queue depth. | |
| BOOL | backgroundoperations |
| BKOPS Supported. | |
| BOOL | manualbkopsenable |
| Manual BKOPS Supported. | |
| BOOL | autobkopsenable |
| Auto BKOPS Supported. | |
| BOOL | hpi |
| HPI (High Priority Interrupt) Supported. | |
| BOOL | hpienable |
| HPI Enabled. | |
| uint32_t | hpicommand |
| CMD used as HPI. | |
| uint64_t | rpmbsize |
| Bytes. | |
| BOOL | enhancedrpmbsupport |
| uint8_t | erasedbyte |
| Value after Erase. | |
| uint32_t | featuresupport |
| Version specific features (eg MMC_DISCARD_FEATURE). | |
| uint8_t revision |
Extended CSD revision (192).
| uint8_t cachecontrol |
Control to turn the Cache ON/OFF (33).
| uint8_t poweroffnotification |
Power Off Notification (34).
| uint8_t partitionsupport |
Partitioning Support (160).
| uint8_t hardwareresetfunction |
H/W reset function (162]).
| uint8_t writereliabilityparameter |
Write reliability parameter register (166]).
| uint8_t rpmbsizemult |
RPMB Size Multiplier (168).
| uint8_t erasegroupdef |
High-density erase group definition (175).
| uint8_t partconfig |
Partition configuration (179).
| uint8_t erasedmemorycontent |
Erased memory content (181).
| uint8_t strobesupport |
Strobe Support (184).
| uint8_t csdstructure |
CSD STRUCTURE (194).
| uint8_t cardtype |
Device type (196).
| uint8_t driverstrength |
I/O Driver Strength (197).
| uint8_t outofinterrupttime |
Out-of-interrupt busy timing (198).
| uint8_t sectorcount[4] |
Sector Count (212)(4 bytes).
| uint8_t satimeout |
Sleep/awake timeout (217).
| uint8_t hcerasegapsize |
High-capacity write protect group size (221).
| uint8_t reliablesectors |
Reliable write sector count (222).
| uint8_t erasetimeoutmult |
High-capacity erase timeout (223).
| uint8_t hcerasegrpsize |
High-capacity erase unit size (224).
| uint8_t sectrimmult |
Secure TRIM Multiplier (229).
| uint8_t secerasemult |
Secure Erase Multiplier (230).
| uint8_t secfeaturesupport |
Secure Feature support (231).
| uint8_t trimmult |
TRIM Multiplier (232).
| uint8_t powerclass52mhz195 |
Power class for 52 MHz at 1.95 V (200).
| uint8_t powerclass26mhz195 |
Power class for 26 MHz at 1.95 V (201).
| uint8_t powerclass52mhz360 |
Power class for 52 MHz at 3.6 V (202).
| uint8_t powerclass26mhz360 |
Power class for 26 MHz at 3.6 V (203).
| uint8_t powerclass200mhz195 |
Power class for 200MHz, at VCCQ = 1.3V, VCC = 3.6V (236).
| uint8_t powerclass200mhz360 |
Power class for 200MHz at VCCQ = 1.95V, VCC = 3.6V (237).
| uint8_t powerclassddr52mhz195 |
Power class for 52MHz, DDR at VCC = 1.95V (238).
| uint8_t powerclassddr52mhz360 |
Power class for 52MHz, DDR at VCC = 3.6V (239).
| uint8_t powerclassddr200mhz360 |
Power class for 200MHz, DDR at VCC = 3.6V (253).
| uint8_t bkopsstatus |
Background operations status (246).
| uint8_t firmwareversion[MMC_FIRMWARE_VERSION_LEN] |
(254) (8 bytes)
| uint8_t preendoflifeinfo |
Pre EOL information (267).
| uint8_t devicelifetimeestimatea |
Device life time estimation type A (268).
| uint8_t devicelifetimeestimateb |
Device life time estimation type B (269).
| uint8_t maxpackedwrites |
Max packed write commands (500).
| uint8_t maxpackedreads |
Max packed read commands (501]).
| uint32_t sectors |
| uint32_t sleepawaketime |
100ns units
| uint32_t partitionswitchtime |
ms
| uint32_t genericcmd6time |
10ms units
| uint32_t powerofflongtime |
ms
| uint32_t hcerasesize |
Sectors.
| uint32_t hcerasetimeout |
Milliseconds.
| uint32_t datasectorsize |
512 bytes or 4KB
| uint32_t datatagunitsize |
| uint32_t hsmaxrate |
Hz.
| uint32_t hs200maxrate |
Hz.
| uint32_t availabletypes |
| uint64_t bootpartitionsize |
Bytes.
| uint64_t enhancedareaoffset |
Bytes.
| uint64_t enhancedareasize |
KB.
| uint32_t cachesize |
KB.
| BOOL partitionsettingcompleted |
Enable Bit.
| uint32_t trimtimeout |
Milliseconds.
| uint64_t partitionsizes[MMC_NUM_GP_PARTITION] |
Bytes.
| uint32_t bootreadonlysupport |
Read Only Lock Support.
| BOOL bootreadonlylockable |
| BOOL fieldfirmwareupdate |
Firmware upgrade support.
| BOOL commandqueuesupport |
Command Queue supported.
| uint32_t commandqueuedepth |
Command Queue depth.
| BOOL backgroundoperations |
BKOPS Supported.
| BOOL manualbkopsenable |
Manual BKOPS Supported.
| BOOL autobkopsenable |
Auto BKOPS Supported.
| BOOL hpi |
HPI (High Priority Interrupt) Supported.
| BOOL hpienable |
HPI Enabled.
| uint32_t hpicommand |
CMD used as HPI.
| uint64_t rpmbsize |
Bytes.
| BOOL enhancedrpmbsupport |
| uint8_t erasedbyte |
Value after Erase.
| uint32_t featuresupport |
Version specific features (eg MMC_DISCARD_FEATURE).