nandpsu: xnandpsu.c File Reference

| nandpsu Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xnandpsu.c File Reference

## Functions
s32 | XNandPsu_CfgInitialize (XNandPsu *InstancePtr, XNandPsu_Config *ConfigPtr, u32 EffectiveAddr)
| This function initializes a specific XNandPsu instance. More...
void | XNandPsu_EnableDmaMode (XNandPsu *InstancePtr)
| This function enables DMA mode of controller operation. More...
void | XNandPsu_DisableDmaMode (XNandPsu *InstancePtr)
| This function disables DMA mode of driver/controller operation. More...
void | XNandPsu_EnableEccMode (XNandPsu *InstancePtr)
| This function enables ECC mode of driver/controller operation. More...
void | XNandPsu_DisableEccMode (XNandPsu *InstancePtr)
| This function disables ECC mode of driver/controller operation. More...
s32 | XNandPsu_Write (XNandPsu *InstancePtr, u64 Offset, u64 Length, u8 *SrcBuf)
| This function writes to the flash. More...
s32 | XNandPsu_Read (XNandPsu *InstancePtr, u64 Offset, u64 Length, u8 *DestBuf)
| This function reads from the flash. More...
s32 | XNandPsu_Erase (XNandPsu *InstancePtr, u64 Offset, u64 Length)
| This function erases the flash. More...
s32 | XNandPsu_WriteSpareBytes (XNandPsu *InstancePtr, u32 Page, u8 *Buf)
| This function sends ONFI Program Page command to flash. More...
s32 | XNandPsu_ReadSpareBytes (XNandPsu *InstancePtr, u32 Page, u8 *Buf)
| This function reads spare bytes from flash. More...
s32 | XNandPsu_EraseBlock (XNandPsu *InstancePtr, u32 Target, u32 Block)
| This function sends ONFI block erase command to the flash. More...
s32 | XNandPsu_GetFeature (XNandPsu *InstancePtr, u32 Target, u8 Feature, u8 *Buf)
| This function sends ONFI Get Feature command to flash. More...
s32 | XNandPsu_SetFeature (XNandPsu *InstancePtr, u32 Target, u8 Feature, u8 *Buf)
| This function sends ONFI Set Feature command to flash. More...
s32 | XNandPsu_ChangeTimingMode (XNandPsu *InstancePtr, XNandPsu_DataInterface NewIntf, XNandPsu_TimingMode NewMode)
| This function changes the data interface and timing mode. More...
void | XNandPsu_Prepare_Cmd (XNandPsu *InstancePtr, u8 Cmd1, u8 Cmd2, u8 EccState, u8 DmaMode, u8 AddrCycles)
| This function prepares command to be written into command register. More...