X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fintelmote2%2Fhardware.h;h=3ff83b7b96a38a131f632be55b48996b00ea6afa;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=a9fbcb83b5a164e74635167acc95f417f97c2f6a;hpb=1a329382c4f4556fd52d85f4e3f4a67e54911682;p=tinyos-2.x.git diff --git a/tos/platforms/intelmote2/hardware.h b/tos/platforms/intelmote2/hardware.h index a9fbcb83..3ff83b7b 100644 --- a/tos/platforms/intelmote2/hardware.h +++ b/tos/platforms/intelmote2/hardware.h @@ -27,7 +27,7 @@ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * DAMAGE. */ -/* tab:4 +/* * * * "Copyright (c) 2000-2002 The Regents of the University of California. @@ -50,7 +50,7 @@ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS." * */ -/* tab:4 +/* * IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By * downloading, copying, installing or using the software you agree to * this license. If you do not agree to this license, do not download, @@ -100,6 +100,15 @@ #include "pxa27xhardware.h" //#include "AM.h" +// enum so components can override power saving, +// as per TEP 112. +// Note that currently the pxa27x does not support +// McuPowerOverride, so SLEEP_NONE is defined to +// be 0. +enum { + TOS_SLEEP_NONE = 0, +}; + #define MIN(a,b) ((a) < (b) ? (a) : (b)) /* Watchdog Prescaler