![]() |
xilflash
Vitis Drivers API Documentation
|
Functions | |
| int | XFlash_Initialize (XFlash *InstancePtr, u32 BaseAddress, u8 BusWidth, int IsPlatformFlash) |
| This function initializes a specific XFlash instance. More... | |
| int | XFlash_Reset (XFlash *InstancePtr) |
| This function resets the flash device and places it in read mode. More... | |
| int | XFlash_DeviceControl (XFlash *InstancePtr, u32 Command, DeviceCtrlParam *Parameters) |
| This function is used to execute device specific commands. More... | |
| int | XFlash_Read (XFlash *InstancePtr, u32 Offset, u32 Bytes, void *DestPtr) |
| This function reads the data from the Flash device and copies it into the specified user buffer. More... | |
| int | XFlash_Write (XFlash *InstancePtr, u32 Offset, u32 Bytes, void *SrcPtr) |
| This function programs the flash device(s) with data specified in the user buffer. More... | |
| int | XFlash_Erase (XFlash *InstancePtr, u32 Offset, u32 Bytes) |
| This function erases the specified address range in the flash device. More... | |
| int | XFlash_Lock (XFlash *InstancePtr, u32 Offset, u32 Bytes) |
| This function Locks the blocks in the specified range of the flash device(s). More... | |
| int | XFlash_Unlock (XFlash *InstancePtr, u32 Offset, u32 Bytes) |
| This function Unlocks the blocks in the specified range of the flash device(s). More... | |
| int | XFlash_IsReady (XFlash *InstancePtr) |
| This function checks the readiness of the device, which means it has been successfully initialized. More... | |