6.36 __get_PSR Intrinsic Function

Returns the value of the PSR register (combined Program Status Register). This intrinsic function can only be used in privileged mode, and is only available for Cortex-M devices.

Suggested Replacement

__get_PSR

Caveats

None.

Examples

unsigned int __get_PSR(void); 

Further Information

None.