mmu_hal_bytes_to_pages() function
Helper functions to convert bytes into MMU page numbers. e.g.: - When MMU page size is 16KB, bytes = 64KB will be converted into 4 pages - When MMU page size is 32KB, bytes = 64KB will be converted into 2 pages
Syntax
uint32_t mmu_hal_bytes_to_pages(uint32_t mmu_id,
uint32_t bytes);
Return value
length in CONFIG_MMU_PAGE_SIZE
mmu_hal_bytes_to_pages() calls 3 functions:
![]()
mmu_hal_bytes_to_pages()
mmu_hal_bytes_to_pages() reads 3 variables:
![]()
mmu_hal_bytes_to_pages()