spi_flash.rst 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .. include:: ../../components/spi_flash/README.rst
  2. Application Example
  3. -------------------
  4. `Instructions`_
  5. .. _Instructions: template.html
  6. API Reference
  7. -------------
  8. Header Files
  9. ^^^^^^^^^^^^
  10. * `spi_flash/include/esp_spi_flash.h <https://github.com/espressif/esp-idf/blob/master/components/spi_flash/include/esp_spi_flash.h>`_
  11. * `spi_flash/include/esp_partition.h <https://github.com/espressif/esp-idf/blob/master/components/spi_flash/include/esp_partition.h>`_
  12. Macros
  13. ^^^^^^
  14. .. doxygendefine:: ESP_ERR_FLASH_BASE
  15. .. doxygendefine:: ESP_ERR_FLASH_OP_FAIL
  16. .. doxygendefine:: ESP_ERR_FLASH_OP_TIMEOUT
  17. .. doxygendefine:: SPI_FLASH_SEC_SIZE
  18. .. doxygendefine:: ESP_PARTITION_SUBTYPE_OTA
  19. Type Definitions
  20. ^^^^^^^^^^^^^^^^
  21. .. doxygentypedef:: spi_flash_mmap_handle_t
  22. .. doxygentypedef:: esp_partition_iterator_t
  23. Enumerations
  24. ^^^^^^^^^^^^
  25. .. doxygenenum:: spi_flash_mmap_memory_t
  26. .. doxygenenum:: esp_partition_type_t
  27. .. doxygenenum:: esp_partition_subtype_t
  28. Structures
  29. ^^^^^^^^^^
  30. .. doxygenstruct:: esp_partition_t
  31. Functions
  32. ^^^^^^^^^
  33. .. doxygenfunction:: spi_flash_init
  34. .. doxygenfunction:: spi_flash_get_chip_size
  35. .. doxygenfunction:: spi_flash_erase_sector
  36. .. doxygenfunction:: spi_flash_erase_range
  37. .. doxygenfunction:: spi_flash_write
  38. .. doxygenfunction:: spi_flash_read
  39. .. doxygenfunction:: spi_flash_mmap
  40. .. doxygenfunction:: spi_flash_munmap
  41. .. doxygenfunction:: spi_flash_mmap_dump
  42. .. doxygenfunction:: esp_partition_find
  43. .. doxygenfunction:: esp_partition_find_first
  44. .. doxygenfunction:: esp_partition_get
  45. .. doxygenfunction:: esp_partition_next
  46. .. doxygenfunction:: esp_partition_iterator_release
  47. .. doxygenfunction:: esp_partition_read
  48. .. doxygenfunction:: esp_partition_write
  49. .. doxygenfunction:: esp_partition_erase_range
  50. .. doxygenfunction:: esp_partition_mmap