sdps
Xilinx SDK Drivers API Documentation
XSdPs Struct Reference

The XSdPs driver instance data. More...

Data Fields

XSdPs_Config Config
 Configuration structure. More...
 
u32 IsReady
 Device is initialized and ready. More...
 
u32 Host_Caps
 Capabilities of host controller. More...
 
u32 Host_CapsExt
 Extended Capabilities. More...
 
u32 HCS
 High capacity support in card. More...
 
u8 CardType
 Type of card - SD/MMC/eMMC. More...
 
u8 Card_Version
 Card version. More...
 
u8 HC_Version
 Host controller version. More...
 
u8 BusWidth
 Current operating bus width. More...
 
u32 BusSpeed
 Current operating bus speed. More...
 
u8 Switch1v8
 1.8V Switch support More...
 
u32 CardID [4]
 Card ID Register. More...
 
u32 RelCardAddr
 Relative Card Address. More...
 
u32 CardSpecData [4]
 Card Specific Data Register. More...
 
u32 SectorCount
 Sector Count. More...
 
u32 SdCardConfig
 Sd Card Configuration Register. More...
 
u32 Mode
 Bus Speed Mode. More...
 
XSdPs_ConfigTap Config_TapDelay
 Configuring the tap delays. More...
 
u64 Dma64BitAddr
 64 Bit DMA Address More...
 

Detailed Description

The XSdPs driver instance data.

The user is required to allocate a variable of this type for every SD device in the system. A pointer to a variable of this type is then passed to the driver API functions.

Field Documentation

◆ BusSpeed

u32 XSdPs::BusSpeed

Current operating bus speed.

◆ BusWidth

u8 XSdPs::BusWidth

Current operating bus width.

Referenced by XSdPs_CardInitialize().

◆ Card_Version

u8 XSdPs::Card_Version

Card version.

◆ CardID

u32 XSdPs::CardID[4]

Card ID Register.

◆ CardSpecData

u32 XSdPs::CardSpecData[4]

Card Specific Data Register.

◆ CardType

u8 XSdPs::CardType

Type of card - SD/MMC/eMMC.

Referenced by XSdPs_Change_BusSpeed().

◆ Config

XSdPs_Config XSdPs::Config

◆ Config_TapDelay

XSdPs_ConfigTap XSdPs::Config_TapDelay

Configuring the tap delays.

ADMA Descriptors

◆ Dma64BitAddr

u64 XSdPs::Dma64BitAddr

64 Bit DMA Address

◆ HC_Version

u8 XSdPs::HC_Version

◆ HCS

u32 XSdPs::HCS

High capacity support in card.

◆ Host_Caps

u32 XSdPs::Host_Caps

Capabilities of host controller.

◆ Host_CapsExt

u32 XSdPs::Host_CapsExt

Extended Capabilities.

◆ IsReady

◆ Mode

u32 XSdPs::Mode

Bus Speed Mode.

Referenced by XSdPs_CfgInitialize().

◆ RelCardAddr

u32 XSdPs::RelCardAddr

Relative Card Address.

◆ SdCardConfig

u32 XSdPs::SdCardConfig

Sd Card Configuration Register.

◆ SectorCount

u32 XSdPs::SectorCount

Sector Count.

Referenced by XSdPs_CfgInitialize().

◆ Switch1v8

u8 XSdPs::Switch1v8

1.8V Switch support