]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Update the tmicore platform's clock initialization. If DCO constants are in
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Mon, 8 Sep 2008 23:10:45 +0000 (23:10 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:00:50 +0000 (20:00 -0700)
commit8ee154990c9e647f77ba3218b5d37774355b5ad8
tree55909ad6f9537e4a22e0110e3d6dcd01a360afa8
parentb054fbe2a8deacc35f0067deb15274da53d96984
Update the tmicore platform's clock initialization.  If DCO constants are in
INFOA, it uses them.  If not, is uses the standard mecthod of calibrating the
DCO off of ACLK.  For tmicore, DCOCLK = MCLK = 8MHz.  We add additional code to
set SMCLK = 1MHz.  If the constants are used, the 1MHz = 10^6HZ.  If the
internal cal routines are used, 1MHz = 2^20Hz.
tos/platforms/tmicore/MoteClockC.nc
tos/platforms/tmicore/MoteClockP.nc