|
CardSight 0.1.0
C API reference for the CardSight firmware and application
|
What the host found out about the card. More...
#include <card.h>
Data Fields | |
| uint32_t | sectors |
| uint32_t | clock |
| int | bus_width |
| bool | high_capacity |
| uint8_t | cid [16] |
| struct mmc_cid_identity | identity |
| uint16_t | rca |
| bool | s18a |
| uint16_t | sw_groups [6] |
| uint16_t | max_current |
| const char * | mode |
| bool | tuned |
What the host found out about the card.
The trailing fields describe what the card offers, read during identification.
| int mmc_card_info::bus_width |
Data bus width in bits.
| uint8_t mmc_card_info::cid[16] |
Raw card identification register.
| uint32_t mmc_card_info::clock |
Clock in use, in Hz.
| bool mmc_card_info::high_capacity |
SDHC/SDXC, which use block addressing.
| struct mmc_cid_identity mmc_card_info::identity |
Decoded card identification.
| uint16_t mmc_card_info::max_current |
Maximum current in mA, from CMD6 status.
| const char* mmc_card_info::mode |
Speed mode in use: SDR104, SDR50, DDR50, SDR25, default.
| uint16_t mmc_card_info::rca |
Relative card address.
| bool mmc_card_info::s18a |
The card accepted 1.8 V signalling in ACMD41.
| uint32_t mmc_card_info::sectors |
Capacity in 512 byte sectors.
| uint16_t mmc_card_info::sw_groups[6] |
CMD6 support masks of function groups 1..6.
| bool mmc_card_info::tuned |
The sample point was found by tuning.