3eaf1ec907
1. Wi-Fi <api/esp_wifi> 2. Bluetooth <api/bt> 2. GPIO <api/gpio> 4. LED Control <api/ledc> 5. Logging <api/log> 6. Non-Volatile Storage <api/nvs_flash> 7. Virtual Filesystem <api/vfs>
67 lines
1.8 KiB
ReStructuredText
67 lines
1.8 KiB
ReStructuredText
.. include:: ../../components/nvs_flash/README.rst
|
|
|
|
Application Example
|
|
-------------------
|
|
|
|
`Instructions <http://esp-idf.readthedocs.io/en/latest/api/template.html>`_
|
|
|
|
API Reference
|
|
-------------
|
|
|
|
Macros
|
|
^^^^^^
|
|
|
|
.. doxygendefine:: ESP_ERR_NVS_BASE
|
|
.. doxygendefine:: ESP_ERR_NVS_NOT_INITIALIZED
|
|
.. doxygendefine:: ESP_ERR_NVS_NOT_FOUND
|
|
.. doxygendefine:: ESP_ERR_NVS_TYPE_MISMATCH
|
|
.. doxygendefine:: ESP_ERR_NVS_READ_ONLY
|
|
.. doxygendefine:: ESP_ERR_NVS_NOT_ENOUGH_SPACE
|
|
.. doxygendefine:: ESP_ERR_NVS_INVALID_NAME
|
|
.. doxygendefine:: ESP_ERR_NVS_INVALID_HANDLE
|
|
.. doxygendefine:: ESP_ERR_NVS_REMOVE_FAILED
|
|
.. doxygendefine:: ESP_ERR_NVS_KEY_TOO_LONG
|
|
.. doxygendefine:: ESP_ERR_NVS_PAGE_FULL
|
|
.. doxygendefine:: ESP_ERR_NVS_INVALID_STATE
|
|
.. doxygendefine:: ESP_ERR_NVS_INVALID_LENGTH
|
|
|
|
Type Definitions
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
.. doxygentypedef:: nvs_handle
|
|
|
|
Enumerations
|
|
^^^^^^^^^^^^
|
|
|
|
.. doxygenenum:: nvs_open_mode
|
|
|
|
Functions
|
|
^^^^^^^^^
|
|
.. doxygenfunction:: nvs_open
|
|
.. doxygenfunction:: nvs_set_i8
|
|
.. doxygenfunction:: nvs_set_u8
|
|
.. doxygenfunction:: nvs_set_i16
|
|
.. doxygenfunction:: nvs_set_u16
|
|
.. doxygenfunction:: nvs_set_i32
|
|
.. doxygenfunction:: nvs_set_u32
|
|
.. doxygenfunction:: nvs_set_i64
|
|
.. doxygenfunction:: nvs_set_u64
|
|
.. doxygenfunction:: nvs_set_str
|
|
.. doxygenfunction:: nvs_set_blob
|
|
.. doxygenfunction:: nvs_get_i8
|
|
.. doxygenfunction:: nvs_get_u8
|
|
.. doxygenfunction:: nvs_get_i16
|
|
.. doxygenfunction:: nvs_get_u16
|
|
.. doxygenfunction:: nvs_get_i32
|
|
.. doxygenfunction:: nvs_get_u32
|
|
.. doxygenfunction:: nvs_get_i64
|
|
.. doxygenfunction:: nvs_get_u64
|
|
.. doxygenfunction:: nvs_get_str
|
|
.. doxygenfunction:: nvs_get_blob
|
|
.. doxygenfunction:: nvs_erase_key
|
|
.. doxygenfunction:: nvs_erase_all
|
|
.. doxygenfunction:: nvs_commit
|
|
.. doxygenfunction:: nvs_close
|
|
.. doxygenfunction:: nvs_flash_init
|
|
.. doxygenfunction:: nvs_flash_init_custom
|
|
|