122-32000 Parallax Inc, 122-32000 Datasheet - Page 175
122-32000
Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
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
- Current page: 175 of 438
- Download datasheet (5Mb)
CLKFREQ
Current System Clock frequency; the frequency at which each cog is running.
((PUB ┆ PRI))
Returns: Current System Clock frequency, in Hz.
Explanation
The value returned by
current clock mode (oscillator type, gain, and PLL settings) and the external XI pin
frequency, if any. Objects use
operations. For example:
This statement divides
value) then waits (
is the number of cycles per second, a divide by 10 yields the number of clock cycles per 0.1
seconds, or 100 ms. So, disregarding the time it takes to process the expression, this
statement pauses the cog’s program execution for 100 ms. The table below shows more
examples of System Clock tick verses Time calculations.
The value that
either manually or via the
CLKFREQ
clkfreq / 10
clkfreq / 100
clkfreq / 1_000
clkfreq / 10_000
clkfreq / 100_000
clkfreq / 9600
clkfreq / 19200
CLKFREQ
waitcnt(clkfreq / 10 + cnt) 'wait for .1 seconds (100 ms)
Expression
at strategic points in order to adjust to new settings automatically.
CLKFREQ
WAITCNT
Table 4-2: System Clock Ticks vs. Time Calculations
CLKFREQ
CLKFREQ
Clock ticks per 0.1 seconds (100 ms)
Clock ticks per 0.01 seconds (10 ms)
Clock ticks per 0.001 seconds (1 ms)
Clock ticks per 0.0001 seconds (100 µs)
Clock ticks per 0.00001 seconds (10 µs)
Clock ticks per serial bit period at 9,600 baud (~ 104 µs)
Clock ticks per serial bit period at 19,200 baud (~ 52 µs)
returns can change whenever the application changes the clock mode,
) until the System Counter reaches the result value. Since
CLKSET
CLKFREQ
by 10 and adds the result to
is the actual System Clock frequency as determined by the
command. Objects that are time-sensitive should check
4: Spin Language Reference –
to determine the proper time delays for time-sensitive
Result
CNT
Propeller Manual v1.0 · Page 175
(the current System Counter
CLKFREQ
Related parts for 122-32000
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
MANUAL FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
GUIDE STUDENT PROCESS CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
GUIDE STUDENT SMART SENSORS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
LEAD WIRES FLYING CABLE III/IV
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
BOARD ADAPTER AND FLY LEADS
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
PLATFORM CABLE USB II
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
KIT STARTER COOLRUNNER-II BUNDLE
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: