X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fmicaz%2Fhardware.h;h=3276ed8901f6ead6474dbcfeabfb4e2126f64237;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=1720f58e46a5048cd8eed81aee483993ede2cbb7;hpb=c697f532eaadadfafb362a86fff94b9ccc6d7f74;p=tinyos-2.x.git diff --git a/tos/platforms/micaz/hardware.h b/tos/platforms/micaz/hardware.h index 1720f58e..3276ed89 100644 --- a/tos/platforms/micaz/hardware.h +++ b/tos/platforms/micaz/hardware.h @@ -1,4 +1,4 @@ -/** 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, @@ -51,6 +51,12 @@ #include #include +// enum so components can override power saving, +// as per TEP 112. +enum { + TOS_SLEEP_NONE = ATM128_POWER_IDLE, +}; + // A/D channels enum { CHANNEL_THERMISTOR = ATM128_ADC_SNGL_ADC1 // normally unpopulated