Propeller Manual

Table Of Contents
2: Spin Language Reference
PLL8X Constant for _CLKMODE: external frequency times 8; p 68.
PLL16X Constant for _CLKMODE: external frequency times 16; p 68.
Cog Control
COGID
a
Current cog’s ID (0-7); p 75.
COGNEW Start the next available cog; p 78.
COGINIT
a
Start, or restart, a cog by ID; p 76.
COGSTOP
a
Stop a cog by ID; p 83.
REBOOT Reset the Propeller chip; p 187.
Process Control
LOCKNEW
a
Check out a new lock; p 122.
LOCKRET
a
Release a lock; p 125.
LOCKCLR
a
Clear a lock by ID; p 120.
LOCKSET
a
Set a lock by ID; p 126.
WAITCNT
a
Wait for System Counter to reach a value; p 218.
WAITPEQ
a
Wait for pin(s) to be equal to value; p 222.
WAITPNE
a
Wait for pin(s) to be not equal to value; p 224.
WAITVID
a
Wait for video sync and deliver next color/pixel group; p 225.
Flow Control
IF Conditionally execute one or more blocks of code; p 112.
IFNOT Conditionally execute one or more blocks of code; p 117.
CASE Evaluate expression and execute block of code that satisfies a condition;
p 59.
...ELSEIF
...ELSEIFNOT
...ELSE
...OTHER
...ELSEIF
...ELSEIFNOT
...ELSE
Propeller Manual v1.1 · Page 39