Synergy Software Package User's Manual

#include <r_sdmmc_api.h>

Data Fields

sdmmc_card_type_t card_type
 SD or eMMC.
 
bool ready
 
bool hc
 true = Card is High Capacity card
 
bool sdio
 true = SDIO present
 
bool write_protected
 true = Card is write protected
 
bool transfer_in_progress
 true = Card is busy
 
uint8_t csd_version
 CSD version.
 
uint8_t device_type
 Speed and data rate (eMMC)
 
sdmmc_bus_width_t bus_width
 Current media bus width.
 
uint8_t hs_timing
 High Speed status.
 
uint32_t sdhi_rca
 Relative Card Address.
 
uint32_t max_clock_rate
 Maximum clock rate for media card.
 
uint32_t clock_rate
 Current clock rate.
 
uint32_t sector_size
 Sector size.
 
uint32_t sector_count
 Sector count.
 
uint32_t erase_sector_count
 Minimum erasable unit (in 512 byte sectors)
 

Detailed Description

Status and other information obtained from the media device.

Field Documentation

◆ ready

bool sdmmc_info_t::ready

False if card was removed (only applies if MCU supports card detection and SDnCD pin is connected).

True otherwise.

If ready is false, the driver must be closed, then reopened with a card inserted.


The documentation for this struct was generated from the following file: