#define InstWriteReg(InstancePtr,RegOffset,Data)\
(Xil_Out32(((InstancePtr)-Config.BaseAddress)+(u32)(RegOffset,(u32)(Data)))
This writes the value to the selected device register.
Parameters
- InstancePtr*
- Pointer to XmpuPl instance
- RegOffset
- Use register offset values provided in zupl_xmpu_hw.h
- Data
- Value to be written to register
Return
- None
- none