RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros | Functions
xqspipsu.c File Reference
#include "xqspipsu.h"
#include "xqspipsu_control.h"
#include "sleep.h"

Macros

#define MAX_DELAY_CNT   10000000U
 

Functions

s32 XQspiPsu_CfgInitialize (XQspiPsu *InstancePtr, const XQspiPsu_Config *ConfigPtr, UINTPTR EffectiveAddr)
 
void XQspiPsu_Idle (const XQspiPsu *InstancePtr)
 
void XQspiPsu_Reset (XQspiPsu *InstancePtr)
 
void XQspiPsu_Abort (XQspiPsu *InstancePtr)
 
void XQspiPsu_PollDataHandler (XQspiPsu *InstancePtr, u32 StatusReg)
 
s32 XQspiPsu_PolledTransfer (XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 NumMsg)
 
s32 XQspiPsu_InterruptTransfer (XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 NumMsg)
 
s32 XQspiPsu_InterruptHandler (XQspiPsu *InstancePtr)
 
void XQspiPsu_SetStatusHandler (XQspiPsu *InstancePtr, void *CallBackRef, XQspiPsu_StatusHandler FuncPointer)
 
void XQspiPsu_WriteProtectToggle (const XQspiPsu *InstancePtr, u32 Toggle)
 This API enables/ disables Write Protect pin on the flash parts.
 
s32 XQspiPsu_StartDmaTransfer (XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 NumMsg)
 
s32 XQspiPsu_CheckDmaDone (XQspiPsu *InstancePtr)