OS_Idle and routine inside...

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • OS_Idle and routine inside...

    MSP430F5529

    IAR Tools

    embOS for MSP430 4/26/11 release



    I have a question on OS_Idle - there is a function call called OS_POWER_GetMask( ) - what does it do?

    It is used to fill a PowerMask; not sure what that does either.



    Regards,

    Todd Anderson
  • Hello Todd,

    the OS_POWER module is not yet documented since it is not officially released. The OS_POWER module may be used to control different power saving modes when entering idle state. Individual flags for different peripherals may be set whenever a peripheral needs power or clock, and may be reset, when power is not needed. The state of the power flags may be examined during OS_Idle by a call of OS_POWER_GetMask(). This allows to switch off all of those peripherals which are not needed during idle times.

    Regards,
    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.