sdps
Vitis Drivers API Documentation
|
Functions | |
s32 | XSdPs_Read (XSdPs *InstancePtr, u32 Arg, u32 BlkCnt, u8 *Buff) |
This function performs SD read in polled mode. More... | |
s32 | XSdPs_Write (XSdPs *InstancePtr, u32 Arg, u32 BlkCnt, const u8 *Buff) |
This function performs SD write in polled mode. More... | |
s32 | XSdPs_CheckTransferComplete (XSdPs *InstancePtr) |
This function is used to check for the transfer complete. More... | |
s32 | XSdPs_IdentifyCard (XSdPs *InstancePtr) |
Identify type of card using CMD0 + CMD1 sequence. More... | |
s32 | XSdPs_SdCardInitialize (XSdPs *InstancePtr) |
SD initialization is done in this function. More... | |
s32 | XSdPs_MmcCardInitialize (XSdPs *InstancePtr) |
Mmc initialization is done in this function. More... | |
s32 | XSdPs_CheckCardDetect (XSdPs *InstancePtr) |
This function checks if the card is present or not. More... | |
s32 | XSdPs_CardReset (XSdPs *InstancePtr) |
This function sends CMD0 to reset the card. More... | |
s32 | XSdPs_CardIfCond (XSdPs *InstancePtr) |
This function sends command to get the card interface details. More... | |
s32 | XSdPs_CardOpCond (XSdPs *InstancePtr) |
This function sends command to get the card operating condition. More... | |
s32 | XSdPs_GetCardId (XSdPs *InstancePtr) |
This function is used to get the card ID. More... | |
s32 | XSdPs_GetCsd (XSdPs *InstancePtr) |
This function is used to get the CSD register from the card. More... | |
s32 | XSdPs_CardSetVoltage18 (XSdPs *InstancePtr) |
This function is used to set the card voltage to 1.8V. More... | |
s32 | XSdPs_ResetConfig (XSdPs *InstancePtr) |
This function is used to do initial Reset Configuration. More... | |
void | XSdPs_HostConfig (XSdPs *InstancePtr) |
This function is used to do initial Host Configuration. More... | |
s32 | XSdPs_CheckResetDone (XSdPs *InstancePtr, u8 Value) |
This function checks for Reset Done bits to be cleared after a reset assert. More... | |
s32 | XSdPs_SetupVoltageSwitch (XSdPs *InstancePtr) |
This function is used to setup the voltage switch. More... | |
s32 | XSdPs_CheckBusHigh (XSdPs *InstancePtr) |
This function is used to check if the Cmd and Dat buses are high. More... | |
void | XSdPs_Identify_UhsMode (XSdPs *InstancePtr, u8 *ReadBuff) |
API to Identify the supported UHS mode. More... | |
void | XSdPs_SetTapDelay (XSdPs *InstancePtr) |
API to set Tap Delay w.r.t speed modes. More... | |
s32 | XSdPs_Change_SdBusSpeed (XSdPs *InstancePtr) |
This function is used to change the SD Bus Speed. More... | |
s32 | XSdPs_Change_MmcBusSpeed (XSdPs *InstancePtr) |
This function is used to change the eMMC bus speed. More... | |
s32 | XSdPs_AutoTuning (XSdPs *InstancePtr) |
This function is used to do the Auto tuning. More... | |
void | XSdPs_SetupADMA2DescTbl (XSdPs *InstancePtr, u32 BlkCnt, const u8 *Buff) |
API to setup ADMA2 descriptor table. More... | |
void | XSdPs_SetupADMA2DescTbl64Bit (XSdPs *InstancePtr, u32 BlkCnt) |
API to setup ADMA2 descriptor table for 64 Bit DMA. More... | |
s32 | XSdPs_DllReset (XSdPs *InstancePtr) |
API to reset the DLL. More... | |
void | XSdPs_IdentifyEmmcMode (XSdPs *InstancePtr, const u8 *ExtCsd) |
This function is used to identify the eMMC speed mode. More... | |
s32 | XSdPs_CheckEmmcTiming (XSdPs *InstancePtr, u8 *ExtCsd) |
This function is used to check the eMMC timing. More... | |
s32 | XSdPs_SetClock (XSdPs *InstancePtr, u32 SelFreq) |
This function is used to set the clock to the passed frequency. More... | |
s32 | XSdPs_CheckVoltage18 (XSdPs *InstancePtr) |
This function checks if the voltage is set to 1.8V or not. More... | |
s32 | XSdPs_SetupCmd (XSdPs *InstancePtr, u32 Arg, u32 BlkCnt) |
This function initializes the command sequence. More... | |
s32 | XSdPs_SendCmd (XSdPs *InstancePtr, u32 Cmd) |
This function initiates the Cmd transfer to SD card. More... | |
s32 | XSdPs_SetStartAddr (XSdPs *InstancePtr, u32 StartAddr) |
This function performs Set the address of the first write block to be erased. More... | |
s32 | XSdPs_SetEndAddr (XSdPs *InstancePtr, u32 EndAddr) |
This function performs Set the address of the last write block to be erased. More... | |
s32 | XSdPs_SendErase (XSdPs *InstancePtr) |
This function send Erase command to the device and wait for transfer complete. More... | |