I'm working with telosb platform (with MSP430f1611 uC) and I want to calculate the time of some phase of my algoritm with the max accuracy (us).
I found that the timerA is ad hoc for me, so I use a Counter<TMicro,uint16_t>, but I want to set the clock source of Counter at MCLK, how I can it? I found in MSP430Timer.h a bit control mask of timer A:
-msp430_timer_a_control_t.id is input divisor (possible value 0,1,2,3)
-msp430_timer_a_control_t.tassel is clock source (possible value TxCLK,ACLK,SMCLK,INCLK)
Is it good way? Are there other solution? Can you help me?
CA
Nuova grafica e nuove funzionalità! Crea subito Gratis la tua nuova Casella di Posta Katamail
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
