Hi all
In ADC.h the following enum is defined (linenumbers in left column):
35 enum {
36 TOS_ADCSample3750ns = 0,
37 TOS_ADCSample7500ns = 1,
38 TOS_ADCSample15us = 2,
39 TOS_ADCSample30us = 3,
40 TOS_ADCSample60us = 4,
41 TOS_ADCSample120us = 5,
42 TOS_ADCSample240us = 6,
43 TOS_ADCSample480us = 7
44 };
How are these calculated? Is this formula correct:
XTAL/13/2^n (n in [0,7])
I guess not, because it fits bad with my empirical tests, but it is the
best I can figure out from the atmega docs.
Any help appreciated.
Thanks,
Mads
--
+----------------------------------------------------------------------+
| Mads Bondo Dydensborg. http://www.distlab.dk/madsdyd/ |
| +45 35 32 14 18 |
+----------------------------------------------------------------------+
_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users