* $TOSDIR/tos/chips/msp430/timer/Msp430DcoSpec.h This is a little hokey.
* I think I'd rather do it using a generic interface.
*
- * @author R. Steve McKown <smckown@gmail.com>
+ * @author R. Steve McKown <rsmckown@gmail.com>
*/
-#define MS430DCOSPEC_H
-#define TARGET_DCO_KHZ 8192 // the target DCO clock rate in binary kHz
-#define ACLK_KHZ 32 // the ACLK rate in binary kHz
-
configuration MoteClockC {
provides interface Init as MoteClockInit;
}
components MoteClockP;
MoteClockInit = MoteClockP.Init;
- components Msp430ClockC;
+ components new Msp430ClockC(8192, 32);
MoteClockP.SubInit -> Msp430ClockC.Init;
- //MoteClockP.Msp430ClockInit -> Msp430ClockC;
}