From 44c3fe9aabbcab4f7c5626d1e41302a24d359244 Mon Sep 17 00:00:00 2001 From: klueska Date: Wed, 20 Feb 2008 17:34:55 +0000 Subject: [PATCH] Finalised version of tep115 --- doc/html/tep115.html | 26 +++++++++++++------------- doc/txt/tep115.txt | 22 +++++++++++----------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/doc/html/tep115.html b/doc/html/tep115.html index 8e6bfac7..2b0dc84d 100644 --- a/doc/html/tep115.html +++ b/doc/html/tep115.html @@ -311,9 +311,9 @@ ul.auto-toc { Kevin Klues, Vlado Handziski, Jan-Hinrich Hauer, Phil Levis Draft-Created:11-Jan-2006 -Draft-Version:1.7 +Draft-Version:1.8 -Draft-Modified:2007-02-21 +Draft-Modified:2007-09-14 Draft-Discuss:TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu> @@ -790,9 +790,9 @@ module MyFlashP { provides { interface Init; interface SplitControl; - interface Resource; - interface FlashCommands; - ... + interface Resource; + interface FlashCommands; + ... } } implementation { @@ -801,11 +801,11 @@ implementation { generic module PowerManagerC(uint8_t POWERDOWN_DELAY) { provides { - interface Init; + interface Init; } uses { - interface SplitControl; - interface ResourceDefaultOwner; + interface SplitControl; + interface ResourceDefaultOwner; } } implementation { @@ -816,15 +816,15 @@ implementation { #define MYFLASH_POWERDOWN_DELAY 1000 configuration MyFlashC { provides { - interface Init; - interface Resource; - interface FlashCommands; + interface Init; + interface Resource; + interface FlashCommands; } } implementation { components new PowerManagerC(MYFLASH_POWERDOWN_DELAY) - , FcfsArbiter(MYFLASH_RESOURCE) - , MyFlashP; + , FcfsArbiter(MYFLASH_RESOURCE) + , MyFlashP; Init = MyFlashP; Resource = FcfsArbiter; diff --git a/doc/txt/tep115.txt b/doc/txt/tep115.txt index f224d458..af27a1c3 100644 --- a/doc/txt/tep115.txt +++ b/doc/txt/tep115.txt @@ -485,9 +485,9 @@ according to the *implicitly power management* model could be built as shown bel provides { interface Init; interface SplitControl; - interface Resource; - interface FlashCommands; - ... + interface Resource; + interface FlashCommands; + ... } } implementation { @@ -496,11 +496,11 @@ according to the *implicitly power management* model could be built as shown bel generic module PowerManagerC(uint8_t POWERDOWN_DELAY) { provides { - interface Init; + interface Init; } uses { - interface SplitControl; - interface ResourceDefaultOwner; + interface SplitControl; + interface ResourceDefaultOwner; } } implementation { @@ -511,15 +511,15 @@ according to the *implicitly power management* model could be built as shown bel #define MYFLASH_POWERDOWN_DELAY 1000 configuration MyFlashC { provides { - interface Init; - interface Resource; - interface FlashCommands; + interface Init; + interface Resource; + interface FlashCommands; } } implementation { components new PowerManagerC(MYFLASH_POWERDOWN_DELAY) - , FcfsArbiter(MYFLASH_RESOURCE) - , MyFlashP; + , FcfsArbiter(MYFLASH_RESOURCE) + , MyFlashP; Init = MyFlashP; Resource = FcfsArbiter; -- 2.39.2