xilffs
Vitis Drivers API Documentation
xilffs_polled_ufs_example.c File Reference

Overview

Note
This example uses file system with UFS to write to and read from an UFS device in polled mode. To test this example File System should not be in Read Only mode. To test this example USE_MKFS option should be true.

This example was tested using UFS device.

To test with different logical drives, drive number should be mentioned in both FileName and Path variables. By default, it will take drive 0 if drive number is not mentioned in the FileName variable. For example, to test logical drive 2 FileName = "2:/<file_name>" and Path = "2:/" Similarly to test logical drive N, FileName = "N:/<file_name>" and Path = "N:/"

None.

 MODIFICATION HISTORY:
 Ver   Who Date     Changes


1.0 sk 07/11/24 First release

 

Functions

int FfsUfsPolledExample (void)
 File system example using UFS driver to write to and read from an UFS card in polled mode. More...
 
int main (void)
 Main function to call the UFS example. More...
 

Function Documentation

int FfsUfsPolledExample ( void  )

File system example using UFS driver to write to and read from an UFS card in polled mode.

Parameters
None
Returns
XST_SUCCESS if successful, otherwise XST_FAILURE.
Note
None

Referenced by main().

int main ( void  )

Main function to call the UFS example.

Parameters
None
Returns
XST_SUCCESS if successful, otherwise XST_FAILURE.
Note
None

References FfsUfsPolledExample().