Xil_SecureRMW32 - Xil_SecureRMW32 - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

Performs a Read Modify Write operation for a memory location by writing the 32 bit value to the specified address and then reading it back to verify the value written in the register.

Changes byte endianness of source buffer and copies it into destination

Prototype

s32 Xil_SecureRMW32(UINTPTR Addr, u32 Mask, u32 Value);

Parameters

The following table lists the Xil_SecureRMW32 function arguments.

Table 1. Xil_SecureRMW32 Arguments
Type Member Description
UINTPTR Addr contains the address to perform the output operation
u32 Mask indicates the bits to be modified
u32 Value contains 32 bit Value to be written at the specified address

Returns

XST_SUCCESS on success XST_FAILURE on failure