]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/clock2/Msp430ClockP.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / chips / msp430 / clock2 / Msp430ClockP.nc
index 16a9fb5f3b96c8a3748c5cb94bd859269051e3f7..1ec121ac158ecbe7c8457ef8a04435cb85223b51 100644 (file)
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
 /**
  * Clock initialization for msp430's with the newer basic clock +, sometimes
  * referred to as basic clock 2.  Derived from the Msp430ClockP for the
  * original basic clock peripheral (chips/msp430/clock/Msp430ClockP.nc), with
  * some refinements suggested by TI in ther example code, filename
  * MSP430x261x_dco_flashcal.c.
- * 
+ *
  * @author R. Steve McKown <rsmckown@gmail.com>
  */
+
 #include "Msp430Timer.h"
 
 generic module Msp430ClockP(uint16_t TARGET_DCO_KHZ, uint16_t ACLK_KHZ) @safe()
@@ -81,7 +81,7 @@ implementation
     TACCTL2 = CM_1 + CCIS_1 + CAP;     /* Capture on rising ACLK */
     TACTL = TASSEL_2 + MC_2 + TACLR;   /* Continuous mode, source SMCLK */
    }
-    
+
   command void Msp430ClockInit.defaultInitClocks()
   {
     const unsigned int divider = TARGET_DCO_KHZ / 1000;
@@ -120,7 +120,7 @@ implementation
   {
     call Msp430ClockInit.defaultSetupDcoCalibrate();
   }
-  
+
   default event void Msp430ClockInit.initClocks()
   {
     call Msp430ClockInit.defaultInitClocks();