Propeller Manual

Table Of Contents
2: Spin Language Reference – _XINFREQ
Propeller Manual v1.1 · Page 237
CON
_CLKMODE = XTAL2
_XINFREQ = 10_000_000
These two declarations set the clock mode for an external medium-speed crystal, no Clock
PLL multiplier, and an external crystal frequency of 10 MHz. The
_CLKFREQ value, and thus
the System Clock frequency, is automatically set to 10 MHz, as well, because of these
declarations.