- BCSCTL2 = 0x00; /* In particular, use DCOCLK as SMCLK source with
- divider 1. Hence, Timer A ticks with system
- clock at 16 MHz. */
-
- TACTL = 0x0204; /* Driven by SMCLK; disable Timer A interrupts;
- reset timer in case it was previously in use */
-}
-
+ #ifdef MSP430
+ BCSCTL2 = 0x00; /* In particular, use DCOCLK as SMCLK source with
+ divider 1. Hence, Timer B ticks with system
+ clock at 16 MHz. */
+
+ TBCTL = 0x0204; /* Driven by SMCLK; disable Timer B interrupts;
+ reset timer in case it was previously in use */
+ #else
+ #warning "Function unimplemented for this platform."
+ #endif
+}
+#if (platform != tilaunchpad)