esp_mmu_unmap() function
Unmap a previously mapped virtual memory block
Arguments
ptr
Start address of the virtual memory
Return value
- ESP_OK - ESP_ERR_INVALID_ARG: Null pointer - ESP_ERR_NOT_FOUND: Vaddr is not in external memory, or it's not mapped yet
Notes
This API does not guarantee thread safety
esp_mmu_unmap() is called by 2 functions and calls 5 functions:
![]()
esp_mmu_unmap()
esp_mmu_unmap() reads 17 variables and writes 1 variable:
![]()
esp_mmu_unmap()
esp_mmu_unmap() allocates 1 types:
![]()
esp_mmu_unmap()