This PR exposes the SEVONPEND bit of the System Control Register (SCR) within the SCB type. This seems inline with the current implementation of the other two defined SCR fields: SLEEPDEEP and SLEEPONEXIT.
As a side-note, I'm relatively new to embedded development in rust, so if this has been omitted for some specific reason I'm unaware of, I'm happy to be corrected. :) That being said, I simply implemented these two new methods in the same way that set/clear_sleepdeep and set/clear_sleeponexit were implemented with the help of section B3.2.7 of the ARMv7-M Architecture Reference Manual.
This PR exposes the
SEVONPEND
bit of the System Control Register (SCR
) within the SCB type. This seems inline with the current implementation of the other two definedSCR
fields:SLEEPDEEP
andSLEEPONEXIT
.As a side-note, I'm relatively new to embedded development in rust, so if this has been omitted for some specific reason I'm unaware of, I'm happy to be corrected. :) That being said, I simply implemented these two new methods in the same way that
set/clear_sleepdeep
andset/clear_sleeponexit
were implemented with the help of sectionB3.2.7
of the ARMv7-M Architecture Reference Manual.