esp_mmu_paddr_to_vaddr() function
Convert physical address to virtual address
Arguments
target
Physical memory target, see `mmu_target_t`
type
Virtual address type, could be either instruction or data
Return value
- ESP_OK - ESP_ERR_INVALID_ARG: Null pointer - ESP_ERR_NOT_FOUND: Paddr is not mapped yet
![]()
ret = esp_mmu_paddr_to_vaddr(phys_offs, target, type, &ptr);
esp_mmu_paddr_to_vaddr() is called by 1 function and calls 3 functions:
![]()
esp_mmu_paddr_to_vaddr()
esp_mmu_paddr_to_vaddr() reads 6 variables:
![]()
esp_mmu_paddr_to_vaddr()