SD/MMC card information structure.
Data Fields | |
uint8_t | bus_width |
Number of DATA lin on bus (MCI only) More... | |
uint32_t | capacity |
Card capacity in KBytes. More... | |
uint32_t | cd_gpio |
Card detect GPIO. More... | |
uint32_t | clock |
Card access clock. More... | |
uint8_t | csd [CSD_REG_BSIZE] |
CSD register. More... | |
uint8_t | high_speed |
High speed card (1) More... | |
uint16_t | rca |
Relative card address. More... | |
enum card_state | state |
Card state. More... | |
card_type_t | type |
Card type. More... | |
card_version_t | version |
Card version. More... | |
uint8_t sd_mmc_card::bus_width |
Number of DATA lin on bus (MCI only)
Referenced by mmc_cmd6_set_bus_width(), sd_acmd6(), sd_mmc_configure_slot(), sd_mmc_select_slot(), and sdio_cmd52_set_bus_width().
uint32_t sd_mmc_card::capacity |
Card capacity in KBytes.
Referenced by mmc_cmd8(), mmc_decode_csd(), sd_decode_csd(), and sd_mmc_get_capacity().
uint32_t sd_mmc_card::cd_gpio |
Card detect GPIO.
Referenced by sd_mmc_select_slot().
uint32_t sd_mmc_card::clock |
Card access clock.
Referenced by mmc_cmd6_set_high_speed(), mmc_decode_csd(), sd_cm6_set_high_speed(), sd_decode_csd(), sd_mmc_configure_slot(), sd_mmc_select_slot(), sdio_cmd52_set_high_speed(), and sdio_get_max_speed().
uint8_t sd_mmc_card::csd[CSD_REG_BSIZE] |
CSD register.
Referenced by mmc_cmd8(), mmc_decode_csd(), sd_decode_csd(), sd_mmc_cmd9_mci(), and sd_mmc_cmd9_spi().
uint8_t sd_mmc_card::high_speed |
High speed card (1)
Referenced by mmc_cmd6_set_high_speed(), sd_cm6_set_high_speed(), sd_mmc_configure_slot(), sd_mmc_select_slot(), and sdio_cmd52_set_high_speed().
uint16_t sd_mmc_card::rca |
Relative card address.
Referenced by sd_acmd51(), sd_acmd6(), sd_mmc_cmd13(), sd_mmc_cmd9_mci(), sd_mmc_cmd9_spi(), sd_mmc_mci_card_init(), sd_mmc_mci_install_mmc(), and sd_mmc_spi_card_init().
enum card_state sd_mmc_card::state |
Card state.
Referenced by sd_mmc_check(), sd_mmc_init(), and sd_mmc_select_slot().
card_type_t sd_mmc_card::type |
Card type.
Referenced by mmc_mci_op_cond(), mmc_spi_op_cond(), sd_mci_op_cond(), sd_mmc_get_type(), sd_mmc_init_read_blocks(), sd_mmc_init_write_blocks(), sd_mmc_mci_card_init(), sd_mmc_spi_card_init(), sd_spi_op_cond(), and sdio_op_cond().
card_version_t sd_mmc_card::version |
Card version.
Referenced by mmc_decode_csd(), sd_acmd51(), sd_mmc_get_version(), sd_mmc_mci_card_init(), sd_mmc_mci_install_mmc(), sd_mmc_spi_card_init(), and sd_mmc_spi_install_mmc().