Call this function to read a value from a register that isn't accessible directly. The permitted addresses are subject to restrictions as defined in the PCW configuration.
Note: If the access isn't permitted this function returns an error code.
Prototype
XStatus XPm_MmioRead(const u32 address, u32 *const value);
Parameters
The following table lists the XPm_MmioRead
function arguments.
Type | Name | Description |
---|---|---|
const u32 | address | Physical 32-bit address of memory mapped register to read from. |
u32 *const | value | Returns the 32-bit value read from the register |