TimerA is used as clock source for the sampcon signal, which controls the sample period/frequency (see Sect. 17.2.5 of msp430 user guide). TimerA is only used if the client requests multiple/repeated sampling - if the client requests a single sample (e.g. through Read.read()), then TimerA is not used. You can completely disable the use of TimerA within the ADC code if you undefine ADC12_TIMERA_ENABLED (see Msp430Adc12.h). But I just noticed that in this case the warning still appears - I'll fix this in CVS tomorrow.
Jan On Fri, Nov 7, 2008 at 2:33 PM, Xavier Orduña <[EMAIL PROTECTED]> wrote: > Hi All, > > When compiling a program that uses msp430 ADC a "using timerA" warning is > thrown. It is possible to use msp430 from TinyOS without using TimerA? > > In fact, why TimerA is used? > > Thanks, > > Xavi > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
