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
Function XC-DSC XC32
__disable_fiq ignore ignore
__disable_interrupt support support
__disable_irq ignore ignore
__enable_fiq ignore ignore
__enable_interrupt support support
__enable_irq ignore ignore
__get_interrupt_state support support
__set_interrupt_state support support

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