Question
Using halSleepWithOptions
Posted on January 24, 2014 at 22:49
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?