24.6 Intrinsic Functions

Intrinsic functions can be used to perform common tasks in the source code. The MPLAB XC compilers’ support for the intrinsic functions offered by other compilers is shown in the following table.

Table 24-6. Support for Non-Standard Intrinsic Functions
IAR Compatibility Mode
FunctionXC16/XC-DSCXC32
__disable_fiqignoreignore
__disable_interruptsupportsupport
__disable_irqignoreignore
__enable_fiqignoreignore
__enable_interruptsupportsupport
__enable_irqignoreignore
__get_interrupt_statesupportsupport
__set_interrupt_statesupportsupport

The header file <xc.h> must be included for supported functions to operate correctly.