Define Xil_ExceptionEnableMask - 2022.2 English

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

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

Definition

#define Xil_ExceptionEnableMask		{								\
		  register u32 Reg __asm("cpsr"); \
		  mtcpsr((Reg) & (~((Mask) & XIL_EXCEPTION_ALL))); \
		}

Description

Enable Exceptions.
Note: If bit is 0, exception is enabled. C-Style signature: void Xil_ExceptionEnableMask(Mask)