cortex-m icon indicating copy to clipboard operation
cortex-m copied to clipboard

IPSR register?

Open TomCrypto opened this issue 6 years ago • 1 comments

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

TomCrypto avatar Jul 18 '19 08:07 TomCrypto

IPSR is a read-only register without side effects, so adding it back should not be a problem

jonas-schievink avatar Jan 09 '20 20:01 jonas-schievink