This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

does power_manage function affect debugging?

power_manage function is required always? Or its required if i want to go in the low power Mode?

Can i comment out power_manage during development stage?

Parents
  • Hi vishal,

    power_manage function is required making the system to go to low power mode.

    power_manage = wait + go to low power until some event occurs
    

    It is also used by the app to wait for some event to happen, normally setting a flag in the app code if that event happens and moving forward of this power_manage function.

    if you are not waiting for any events to happen in your application logic and if you are not keen on power management at this development stage, then you can comment it out safely.

    on ARM cortex M0, if debugger is active then this function will not do anything. infocenter.arm.com/.../index.jsp

Reply
  • Hi vishal,

    power_manage function is required making the system to go to low power mode.

    power_manage = wait + go to low power until some event occurs
    

    It is also used by the app to wait for some event to happen, normally setting a flag in the app code if that event happens and moving forward of this power_manage function.

    if you are not waiting for any events to happen in your application logic and if you are not keen on power management at this development stage, then you can comment it out safely.

    on ARM cortex M0, if debugger is active then this function will not do anything. infocenter.arm.com/.../index.jsp

Children
No Data
Related