![]() |
sdps
Vitis Drivers API Documentation
|
Functions | |
| void | XSdPs_SetTapDelay_SDR104 (XSdPs *InstancePtr) |
| Sets the tap delay for SDR104 uhs mode. More... | |
| void | XSdPs_SetTapDelay_SDR50 (XSdPs *InstancePtr) |
| Sets the tap delay for SDR50 uhs mode. More... | |
| void | XSdPs_SetTapDelay_DDR50 (XSdPs *InstancePtr) |
| Sets the tap delay for DDR50 uhs mode. More... | |
| void | XSdPs_SetTapDelay_SDR25 (XSdPs *InstancePtr) |
| Sets the tap delay for SDR25 uhs mode. More... | |
| s32 | XSdPs_Switch_Voltage (XSdPs *InstancePtr) |
| Switches the SD card voltage from 3v3 to 1v8. More... | |
| s32 | XSdPs_SetupTransfer (XSdPs *InstancePtr) |
| Initiates the transfer to or from SD card. More... | |
| s32 | XSdPs_Reset (XSdPs *InstancePtr, u8 Value) |
| Resets the SD card. More... | |
| void | XSdPs_SetExecTuning (XSdPs *InstancePtr) |
| Sets bit to start execution of tuning. More... | |
| s32 | XSdPs_SdModeInit (XSdPs *InstancePtr) |
| Initializes SD mode. More... | |
| s32 | XSdPs_MmcModeInit (XSdPs *InstancePtr) |
| Initializes MMC mode. More... | |
| s32 | XSdPs_EmmcModeInit (XSdPs *InstancePtr) |
| Initializes eMMC mode. More... | |
| void | XSdPs_DisableBusPower (XSdPs *InstancePtr) |
| Disables the bus power. More... | |
| void | XSdPs_EnableBusPower (XSdPs *InstancePtr) |
| Enables the bus power. More... | |
| s32 | XSdPs_SdCardEnum (XSdPs *InstancePtr) |
| Enumerates the SD card. More... | |
| s32 | XSdPs_MmcCardEnum (XSdPs *InstancePtr) |
| Enumerates the MMC card. More... | |
| s32 | XSdPs_Execute_Tuning (XSdPs *InstancePtr) |
| Performs SD tuning. More... | |
| s32 | XSdPs_EnableClock (XSdPs *InstancePtr, u16 ClockReg) |
| Enables the clock. More... | |
| s32 | XSdPs_CalcBusSpeed (XSdPs *InstancePtr, u32 *Arg) |
| Calculates the bus speed. More... | |
| void | XSdPs_SetupReadDma (XSdPs *InstancePtr, u16 BlkCnt, u16 BlkSize, u8 *Buff) |
| This function is used to do the DMA transfer to or from SD card. More... | |
| void | XSdPs_SetupWriteDma (XSdPs *InstancePtr, u16 BlkCnt, u16 BlkSize, const u8 *Buff) |
| This function is used to do the DMA transfer to or from SD card. More... | |
| void | XSdPs_Setup32ADMA2DescTbl (XSdPs *InstancePtr, u32 BlkCnt, const u8 *Buff) |
| API to setup ADMA2 descriptor table for 32-bit DMA. More... | |
| void | XSdPs_Setup64ADMA2DescTbl (XSdPs *InstancePtr, u32 BlkCnt, const u8 *Buff) |
| API to setup ADMA2 descriptor table for 64-bit DMA. More... | |
| u32 | XSdPs_CalcClock (XSdPs *InstancePtr, u32 SelFreq) |
| Calculates the clock divisor value. More... | |
| void | XSdPs_DllRstCtrl (XSdPs *InstancePtr, u8 EnRst) |
| API to Set or Reset the DLL. More... | |
| void | XSdPs_ConfigTapDelay (XSdPs *InstancePtr) |
| Function to configure the Tap Delays. More... | |
| s32 | XSdPs_SetVoltage18 (XSdPs *InstancePtr) |
| Sets voltage to 1.8 V. More... | |
| void | XSdPs_ConfigPower (XSdPs *InstancePtr) |
| Configures the Power Level. More... | |
| void | XSdPs_ConfigDma (XSdPs *InstancePtr) |
| Configures the DMA. More... | |
| void | XSdPs_ConfigInterrupt (XSdPs *InstancePtr) |
| Configures the Interrupts. More... | |
| s32 | XSdPs_CmdTransfer (XSdPs *InstancePtr, u32 Cmd, u32 Arg, u32 BlkCnt) |
| Generates SD command. More... | |
| s32 | XSdps_CheckTransferDone (XSdPs *InstancePtr) |
| Checks if the transfer is completed successfully. More... | |
| s32 | XSdPs_CheckBusIdle (XSdPs *InstancePtr, u32 Value) |
| Checks if the CMD/DATA bus is idle or not. More... | |
| u32 | XSdPs_FrameCmd (XSdPs *InstancePtr, u32 Cmd) |
| This function frames the Command register for a particular command. More... | |