122-32000 Parallax Inc, 122-32000 Datasheet - Page 177

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
_CLKFREQ
Pre-defined, one-time settable constant for specifying the System Clock frequency.
CON
Explanation
_CLKFREQ
symbol whose value is determined by the top object file of an application.
set directly by the application itself, or is set indirectly as the result of the
_XINFREQ
The top object file in an application (the one where compilation starts from) can specify a
setting for
application and is the frequency that the System Clock will switch to as soon as the
application is booted up and execution begins.
The application can specify either
exclusive and the non-specified one is automatically calculated and set as a result of
specifying the other.
The following examples assume that they are contained within the top object file. Any
_CLKFREQ
For example:
CON
The first declaration in the above
crystal and a Clock PLL multiplier of 8. The second declaration sets the System Clock
frequency to 32 MHz, which means the external crystal’s frequency must be 4 MHz because
4 MHz * 8 = 32 MHz. The
declarations.
_CLKFREQ =
_CLKMODE = XTAL1 + PLL8X
_CLKFREQ = 32_000_000
Expression
application start-up.
settings.
settings in child objects are simply ignored by the compiler.
specifies the System Clock frequency for start-up. It is a pre-defined constant
_CLKFREQ
Expression
is an integer expression that indicates the System Clock frequency upon
in its
CON
_XINFREQ
block. This defines the initial System Clock frequency for the
_CLKFREQ
CON
4: Spin Language Reference –
block sets the clock mode for an external low-speed
value is automatically set to 4 MHz because of these
or
_XINFREQ
in the
Propeller Manual v1.0 · Page 177
CON
block; they are mutually
_CLKFREQ
_CLKMODE
is either
and

Related parts for 122-32000