2019-09-06 12:18:19 +00:00
|
|
|
|
.. include:: ../../../../components/wear_levelling/README_CN.rst
|
2019-09-06 11:12:36 +00:00
|
|
|
|
|
|
|
|
|
另请参阅
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
- :doc:`FAT 文件系统 <./fatfs>`
|
|
|
|
|
- :doc:`分区表 <../../api-guides/partition-tables>`
|
|
|
|
|
|
|
|
|
|
应用示例
|
|
|
|
|
-------------------
|
|
|
|
|
|
2020-02-10 08:52:41 +00:00
|
|
|
|
:example:`storage/wear_levelling` 中提供了一款磨损均衡驱动与 FatFs 库结合使用的示例。该示例初始化磨损均衡驱动,挂载 FAT 文件系统分区,并使用 POSIX(可移植操作系统接口)和 C 库 API 从中写入和读取数据。如需了解更多信息,请参考 :example_file:`storage/wear_levelling/README.md`。
|
2019-09-06 11:12:36 +00:00
|
|
|
|
|
|
|
|
|
高级 API 参考
|
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
|
|
头文件
|
|
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
|
2020-02-10 08:52:41 +00:00
|
|
|
|
* :component_file:`fatfs/vfs/esp_vfs_fat.h`
|
2019-09-06 11:12:36 +00:00
|
|
|
|
|
|
|
|
|
函数
|
|
|
|
|
^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
.. doxygenfunction:: esp_vfs_fat_spiflash_mount
|
|
|
|
|
.. doxygenstruct:: esp_vfs_fat_mount_config_t
|
|
|
|
|
:members:
|
|
|
|
|
.. doxygenfunction:: esp_vfs_fat_spiflash_unmount
|
|
|
|
|
|
|
|
|
|
中层 API 参考
|
|
|
|
|
-----------------------
|
|
|
|
|
|
2019-11-13 03:46:16 +00:00
|
|
|
|
.. include-build-file:: inc/wear_levelling.inc
|
2019-09-06 12:18:19 +00:00
|
|
|
|
|