23.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.
IAR Compatibility Mode | |||
---|---|---|---|
Function | XC16 | XC-DSC | XC32 |
__disable_fiq 1. |
ignore | ignore | ignore |
__disable_interrupt |
support | support | support |
__disable_irq 1. |
ignore | ignore | ignore |
__enable_fiq 1. |
ignore | ignore | ignore |
__enable_interrupt |
support | support | support |
__enable_irq 1. |
ignore | ignore | ignore |
__get_interrupt_state |
support | support | support |
__set_interrupt_state |
support | support | support |
|
The header file <xc.h>
must be included for supported
functions to operate correctly.