nRF5 SDK v13.0.0
Functions
ssi_pal_memmap

This file contains functions for memory mapping None of the described functions will check the input parameters so the behavior of the APIs in illegal parameters case is dependent on the operating system behavior. More...

Functions

uint32_t SaSi_PalMemMap (uint32_t physicalAddress, uint32_t mapSize, uint32_t **ppVirtBuffAddr)
 This function purpose is to return the base virtual address that maps the base physical address. More...
 
uint32_t SaSi_PalMemUnMap (uint32_t *pVirtBuffAddr, uint32_t mapSize)
 This function purpose is to Unmap a specified address range previously mapped by SaSi_PalMemMap. More...
 

Detailed Description

This file contains functions for memory mapping None of the described functions will check the input parameters so the behavior of the APIs in illegal parameters case is dependent on the operating system behavior.

Function Documentation

uint32_t SaSi_PalMemMap ( uint32_t  physicalAddress,
uint32_t  mapSize,
uint32_t **  ppVirtBuffAddr 
)

This function purpose is to return the base virtual address that maps the base physical address.

Returns
Zero on success.
A non-zero value in case of failure.
Parameters
[in]physicalAddressStart physical address of the I/O range to be mapped.
[in]mapSizeNumber of bytes that were mapped.
[out]ppVirtBuffAddrPointer to the base virtual address to which the physical pages were mapped.
uint32_t SaSi_PalMemUnMap ( uint32_t *  pVirtBuffAddr,
uint32_t  mapSize 
)

This function purpose is to Unmap a specified address range previously mapped by SaSi_PalMemMap.

Returns
Zero on success.
A non-zero value in case of failure.
Parameters
[in]pVirtBuffAddrPointer to the base virtual address to which the physical pages were mapped.
[in]mapSizeNumber of bytes that were mapped.

Documentation feedback | Developer Zone | Subscribe | Updated