esp_mmu_paddr_find_caps() function
If the physical address is mapped, this API will provide the capabilities of the virtual address where the physical address is mapped to. @note: Only return value is ESP_OK(which means physically address is successfully mapped), then caps you get make sense.
Arguments
out_caps
Bitwise OR of MMU_MEM_CAP_* flags indicating the capabilities of a virtual address where the physical address is mapped to.
Return value
- ESP_OK: Physical address successfully mapped. - ESP_ERR_INVALID_ARG: Null pointer - ESP_ERR_NOT_FOUND: Physical address is not mapped successfully.
Notes
This API only check one page (see CONFIG_MMU_PAGE_SIZE), starting from the `paddr`
esp_mmu_paddr_find_caps() is called by 1 function:
![]()
esp_mmu_paddr_find_caps()
esp_mmu_paddr_find_caps() reads 7 variables:
![]()
esp_mmu_paddr_find_caps()