1.. include:: ../../../../components/wear_levelling/README.rst
2
3See also
4--------
5
6- :doc:`FAT Filesystem <./fatfs>`
7- :doc:`Partition Table documentation <../../api-guides/partition-tables>`
8
9Application Example
10-------------------
11
12An example which combines the wear levelling driver with the FATFS library is provided in the :example:`storage/wear_levelling` directory. This example initializes the wear levelling driver, mounts FATFS partition, as well as writes and reads data from it using POSIX and C library APIs. See the :example_file:`storage/wear_levelling/README.md` file for more information.
13
14High level API Reference
15------------------------
16
17Header Files
18^^^^^^^^^^^^
19
20* :component_file:`fatfs/vfs/esp_vfs_fat.h`
21
22Functions
23^^^^^^^^^
24
25.. doxygenfunction:: esp_vfs_fat_spiflash_mount
26.. doxygenstruct:: esp_vfs_fat_mount_config_t
27    :members:
28.. doxygenfunction:: esp_vfs_fat_spiflash_unmount
29
30Mid level API Reference
31-----------------------
32
33.. include-build-file:: inc/wear_levelling.inc
34
35