Hello,

I use the interfaces HplAtm128TimerCtrl16 and Hpl128Compare.

At the beginning I set:
Atm128TimerCtrlCompare_t compare;
Atm128TimerCtrlCapture_t capture;

compare.bits.comA = 1; // OC3A toggle on compare match
compare.bits.comB = 1; // OC3B toggle on compare match
capture.bits.wgm32 = 1;// what is this?
capture.bits.cs = 1;   // == clocksource of what?

call TimerCtrl.setCtrlCompare(compare);
call TimerCtrl.setCtrlCapture(capture);

call CompareB.set(6);
call CompareA.set(1000);

at what time does the timer start to run? 
how could i reset the timer to zero? 
why does the interrupt of CompareA.fired still come after I called 
CompareA.stop()?

Regards,
Gerald
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
Jetzt informieren: http://www.gmx.net/de/go/freephone
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to