6.26 __get_BASEPRI Intrinsic Function

Returns the value of the BASEPRI register. This intrinsic function can only be used in privileged mode and it requires a Cortex-M3, Cortex-M4, or Cortex-M7 device.

Suggested Replacement

__get_BASEPRI

Caveats

None.

Examples

Consider migrating IAR code such as:
unsigned int __get_BASEPRI(void);
to MPLAB XC codes similar to:
__get_BASEPRI();

Further Information

None.