cortex-m
cortex-m copied to clipboard
IPSR register?
What is the recommended way to access the IPSR (interrupt program status register)? Apparently it used to exist a long time ago and vanished in commit 251d1aa11244d5356659ccf969e29b0e7da82c7a never to be seen again, and I can't seem to get to it in the current API. I am using a thumbv6m (cortex-m0) device. Thanks
IPSR is a read-only register without side effects, so adding it back should not be a problem