AnsweredAssumed Answered

LPC55S69 :  execute POWER_EnterPowerDown()

Question asked by Eugene Hiihtaja on Jan 27, 2020
Latest reply on Feb 6, 2020 by Eugene Hiihtaja

Hi !


Can  POWER_EnterPowerDown API be called in nonprivileged mode ?


in UM mentioned :


• CPU0 interrupt enable registers (NVIC->ISER) are modified by
POWER_EnterDeepSleep, POWER_EnterPowerDown, and
POWER_EnterDeepPowerDown power APIs. They are restored in case of CPU
retention (deep-sleep and in power-down) or if the low power mode is not entered (for
example, a pending interrupt).


and NVIC->ISER require privileged access.

Or API able to escalate privilege if need ?