InstReadReg

Memory and Peripheral Protection Unit for PL Isolation in Zynq UltraScale+ Devices (XAPP1353)

Document ID
XAPP1353
Release Date
2022-05-04
Revision
1.1 English
#define InstReadReg(InstancePtr, RegOffset) \
    		(Xil_In32(((InstancePtr)->Config.BaseAddress) + (u32)(RegOffset)))

This returns the value of the selected device register.

Parameters

InstancePtr *
Pointer to XmpuPl instance
RegOffset
Use register offset values provided in zupl_xmpu_hw.h

Return

  • Returns register value.