2017-04-10 10:06:35 -04:00
.. include :: ../../../components/wear_levelling/README.rst
See also
--------
2017-03-26 18:01:52 -04:00
- :doc: `FAT Filesystem <../../api-guides/partition-tables>`
- :doc: `Partition Table documentation <../../api-guides/partition-tables>`
2017-04-10 10:06:35 -04:00
Application Example
-------------------
An example which combines wear levelling driver with FATFS library is provided in `` examples/storage/wear_levelling `` directory. This example initializes the
wear levelling driver, mounts FATFS partition, and writes and reads data from it using POSIX and C library APIs. See README.md file in the example directory for more information.
High level API Reference
2017-03-26 18:01:52 -04:00
------------------------
2017-04-10 10:06:35 -04:00
Header Files
^^^^^^^^^^^^
* :component_file:`fatfs/src/esp_vfs_fat.h`
Functions
^^^^^^^^^
.. doxygenfunction :: esp_vfs_fat_spiflash_mount
.. doxygenstruct :: esp_vfs_fat_mount_config_t
:members:
.. doxygenfunction :: esp_vfs_fat_spiflash_unmount
Mid level API Reference
2017-03-26 18:01:52 -04:00
-----------------------
2017-04-10 10:06:35 -04:00
Header Files
^^^^^^^^^^^^
* :component_file:`wear_levelling/include/wear_levelling.h`
Functions
^^^^^^^^^
.. doxygenfunction :: wl_mount
.. doxygenfunction :: wl_unmount
.. doxygenfunction :: wl_erase_range
.. doxygenfunction :: wl_write
.. doxygenfunction :: wl_read
.. doxygenfunction :: wl_size
.. doxygenfunction :: wl_sector_size