X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Ftimer%2FMsp430ClockP.nc;h=7d081ab6edb1f3c0d25e5837274986d9891454b5;hp=82e776c0763387feb9e79a10027329ea41229072;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/tos/chips/msp430/timer/Msp430ClockP.nc b/tos/chips/msp430/timer/Msp430ClockP.nc index 82e776c0..7d081ab6 100644 --- a/tos/chips/msp430/timer/Msp430ClockP.nc +++ b/tos/chips/msp430/timer/Msp430ClockP.nc @@ -31,6 +31,7 @@ generic module Msp430ClockP(uint16_t TARGET_DCO_KHZ, uint16_t ACLK_KHZ) @safe() { provides interface Init; provides interface Msp430ClockInit; + provides interface McuPowerOverride; } implementation { @@ -56,6 +57,9 @@ implementation TARGET_DCO_DELTA = (TARGET_DCO_KHZ / ACLK_KHZ) * ACLK_CALIB_PERIOD, }; + async command mcu_power_t McuPowerOverride.lowestState() { + return MSP430_POWER_LPM3; + } command void Msp430ClockInit.defaultSetupDcoCalibrate() {