X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=doc%2Ftxt%2Ftep115.txt;h=af27a1c3ed7e02b89ecd9de8fe995098fab40699;hb=44c3fe9aabbcab4f7c5626d1e41302a24d359244;hp=f224d458afc3eb25655a0ca3bdf7cc4e7b25ed4d;hpb=c4664f9c25c16a64dea7efa1a31b57e9718ac71d;p=tinyos-2.x.git 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;