* intended use.
*/
-#include "Timer.h"
-
configuration Msp430Counter32khzC
{
provides interface Counter<T32khz,uint16_t> as Msp430Counter32khz;
}
implementation
{
- components Msp430TimerC
- , new Msp430CounterC(T32khz) as Counter
- ;
+ components Msp430TimerC;
+ components new Msp430CounterC(T32khz) as Counter;
Msp430Counter32khz = Counter;
Counter.Msp430Timer -> Msp430TimerC.TimerB;