2 #include "cc1110-ext.h"
4 //! Start the crystal oscillator at 26MHz.
6 // Turn both high speed oscillators on
7 SLEEP &= ~SLEEP_OSC_PD;
8 // Wait until xtal oscillator is stable
9 while( !(SLEEP & SLEEP_XOSC_S) );
11 // Select xtal osc, 26 MHz
13 (CLKCON & ~(CLKCON_CLKSPD | CLKCON_OSC))
15 // Wait for change to take effect
16 while (CLKCON & CLKCON_OSC);
17 // Turn off the RC osc.
18 SLEEP |= SLEEP_OSC_PD;