Interface: tos.interfaces.McuPowerOverride

interface McuPowerOverride

Interface to allow high-level components to set a lower bound for a microcontroller's low power state. This is sometimes necessary, e.g., if a very low power state has a long wakeup latency that will violate application timing requirements. TEP 112 describes how TinyOS incorporates this information when the Scheduler tells the MCU to enter a low power state.

Author:
Philip Levis
Date:
Oct 26, 2005
See:
TEP 112: Microconroller Power Management

Commands
command mcu_power_t lowestState() Called when computing the low power state, in order to allow a high-level component to institute a lower bound.

Commands - Details

lowestState

command mcu_power_t lowestState()

Called when computing the low power state, in order to allow a high-level component to institute a lower bound. Because this command originates deep within the basic TinyOS scheduling mechanisms, it should be used very sparingly. Refer to TEP 112 for details.

Returns:
the lowest power state the system can enter to meet the requirements of this component