#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.