AnsweredAssumed Answered

Using halSleepWithOptions

Question asked by baldwin.jake.001 on Jan 24, 2014
Latest reply on Jan 29, 2014 by baldwin.jake.001
Hi,

I'm attempting to put my stm32w108 micro controller to sleep using the halSleepWithOptions function. The comments in halSleepWithOptions suggest calling halPowerDown and halPowerUp before and after waking up from sleep respectively. I can find those library functions alright but then it suggests using stStackPowerUp() and cstartup to restore some of the registers. Where can I find those two functions?

Outcomes