#include "Timer.h"
-module BlinkC
+module BlinkC @safe()
{
uses interface Timer<TMilli> as Timer0;
uses interface Timer<TMilli> as Timer1;
* @date October 26, 2005
*/
-module McuSleepC {
+module McuSleepC @safe() {
provides {
interface McuSleep;
interface McuPowerState;
*
* @author David Gay
*/
-generic module Atm128AlarmAsyncP(typedef precision, int divider) {
+generic module Atm128AlarmAsyncP(typedef precision, int divider) @safe() {
provides {
interface Init;
interface Alarm<precision, uint32_t>;
#include <Atm128Timer.h>
-module HplAtm128Timer0AsyncP {
+module HplAtm128Timer0AsyncP @safe() {
provides {
// 8-bit Timers
interface HplAtm128Timer<uint8_t> as Timer;
*
*/
-module McuSleepC {
+module McuSleepC @safe() {
provides {
interface McuSleep;
interface McuPowerState;
-module Msp430TimerCommonP
+module Msp430TimerCommonP @safe()
{
provides interface Msp430TimerEvent as VectorTimerA0;
provides interface Msp430TimerEvent as VectorTimerA1;
* @author David Gay
*/
-module MeasureClockC {
+module MeasureClockC @safe() {
provides {
/**
* This code MUST be called from PlatformP only, hence the exactlyonce.
#include "hardware.h"
-module PlatformP
+module PlatformP @safe()
{
provides interface Init;
uses interface Init as MoteInit;
*
* @author David Gay
*/
-module MotePlatformP
+module MotePlatformP @safe()
{
provides interface Init as PlatformInit;
uses interface GeneralIO as SerialIdPin;
* @date January 17 2005
*/
-module RealMainP {
+module RealMainP @safe() {
provides interface Boot;
uses interface Scheduler;
uses interface Init as PlatformInit;