sdps: xsdps.h File Reference

| sdps Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Data Structures | Macros | Functions
xsdps.h File Reference

## Data Structures
struct | XSdPs_Config
| This typedef contains configuration information for the device. More...
struct | XSdPs
| The XSdPs driver instance data. More...

## Macros
#define | XSDPS_CT_ERROR 0x2L
| Command timeout flag. More...
#define | MAX_TUNING_COUNT 40U
| Maximum Tuning count. More...
#define | MAX_TIMEOUT 0x1FFFFFFFU
| Maximum Timeout. More...

## Functions
XSdPs_Config * | XSdPs_LookupConfig (u16 DeviceId)
| Looks up the device configuration based on the unique device ID. More...
s32 | XSdPs_CfgInitialize (XSdPs *InstancePtr, XSdPs_Config *ConfigPtr, u32 EffectiveAddr)
| Initializes a specific XSdPs instance such that the driver is ready to use. More...
s32 | XSdPs_SdCardInitialize (XSdPs *InstancePtr)
| SD initialization is done in this function. More...
s32 | XSdPs_ReadPolled (XSdPs *InstancePtr, u32 Arg, u32 BlkCnt, u8 *Buff)
| This function performs SD read in polled mode. More...
s32 | XSdPs_WritePolled (XSdPs *InstancePtr, u32 Arg, u32 BlkCnt, const u8 *Buff)
| This function performs SD write in polled mode. More...
s32 | XSdPs_SetBlkSize (XSdPs *InstancePtr, u16 BlkSize)
| Update Block size for read/write operations. More...
s32 | XSdPs_Select_Card (XSdPs *InstancePtr)
| Selects card and sets default block size. More...
s32 | XSdPs_Change_ClkFreq (XSdPs *InstancePtr, u32 SelFreq)
| API to change clock freq to given value. More...
s32 | XSdPs_Change_BusWidth (XSdPs *InstancePtr)
| API to set bus width to 4-bit in card and host. More...
s32 | XSdPs_Change_BusSpeed (XSdPs *InstancePtr)
| API to set high speed in card and host. More...
s32 | XSdPs_Get_BusWidth (XSdPs *InstancePtr, u8 *ReadBuff)
| API to get bus width support by card. More...
s32 | XSdPs_Get_BusSpeed (XSdPs *InstancePtr, u8 *ReadBuff)
| API to get bus speed supported by card. More...
s32 | XSdPs_Get_Status (XSdPs *InstancePtr, u8 *SdStatReg)
| API to get SD card status information. More...
s32 | XSdPs_Pullup (XSdPs *InstancePtr)
| API to send pullup command to card before using DAT line 3(using 4-bit bus) More...
s32 | XSdPs_MmcCardInitialize (XSdPs *InstancePtr)
| Mmc initialization is done in this function. More...
s32 | XSdPs_CardInitialize (XSdPs *InstancePtr)
| Initialize Card with Identification mode sequence. More...
s32 | XSdPs_Get_Mmc_ExtCsd (XSdPs *InstancePtr, u8 *ReadBuff)
| API to get EXT_CSD register of eMMC. More...
s32 | XSdPs_Set_Mmc_ExtCsd (XSdPs *InstancePtr, u32 Arg)
| API to write EXT_CSD register of eMMC. More...
void | XSdPs_Idle (XSdPs *InstancePtr)
| API to idle the SDIO Interface. More...