module MoteClockP {
provides interface Init;
- uses {
- interface Init as SubInit;
- interface Msp430ClockInit;
- }
+ uses interface Init as SubInit;
}
implementation {
for (i = 0; i < 0xfffe; i++); /* ensure LFXT1 is stable */
return call SubInit.init();
}
-
- event void Msp430ClockInit.setupDcoCalibrate()
- {
- call Msp430ClockInit.defaultSetupDcoCalibrate();
- }
-
- event void Msp430ClockInit.initClocks()
- {
- call Msp430ClockInit.defaultInitClocks();
- }
-
- event void Msp430ClockInit.initTimerA()
- {
- call Msp430ClockInit.defaultInitTimerA();
- }
-
- event void Msp430ClockInit.initTimerB()
- {
- call Msp430ClockInit.defaultInitTimerB();
- }
}