Xil_UpdateMPUConfig - 2023.1 English

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

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

Update the MPU configuration for the requested region number in the global MPU configuration table.

Prototype

u32 Xil_UpdateMPUConfig(u32 reg_num, INTPTR address, u32 size, u32 attrib);

Parameters

The following table lists the Xil_UpdateMPUConfig function arguments.

Table 1. Xil_UpdateMPUConfig Arguments
Name Description
reg_num The requested region number to be updated information for.
address 32-bit address for start of the region.
size Requested size of the region.
attrib Attribute for the corresponding region.

Returns

XST_FAILURE: When the requested region number if 16 or more. XST_SUCCESS: When the MPU configuration table is updated.