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

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
If the third field bit is set (1), the Hub will start the next available (lowest-numbered inactive)
cog and return that cog’s ID in Destination (if the
If the third field bit is clear (0), the Hub will start or restart the cog identified by Destination’s
fourth field, bits 2:0.
If the
effect is specified, the C flag will be set (1) if no cog was available. If the
specified, Destination is written with the ID of the cog that the hub started, or would have
started, if you let it pick one.
Make sure to follow the
Destination to be updated with the results.
It is not practical to launch Spin code from user’s Propeller Assembly code; we recommend
launching only assembly code with this instruction.
COGINIT
depending on the relation between the cog’s hub access window and the instruction’s moment
of execution. See Hub on page 24 for more information.
COGSTOP
Instruction: Start a cog by its ID.
COGSTOP
Explanation
The
dormant state. In the dormant state, the cog ceases to receive System Clock pulses so that
power consumption is greatly reduced.
COGSTOP
depending on the relation between the cog’s hub access window and the instruction’s moment
of execution. See Hub on page 24 for more information.
–INSTR– ZCRI –CON–
000011 0001 1111 ddddddddd ------011
COGSTOP
WZ
CogID
is a Hub instruction. Hub instructions require 7 to 22 clock cycles to execute
is a Hub instruction. Hub instructions require 7 to 22 clock cycles to execute
effect is specified, the Z flag will be set (1) if the cog ID returned is 0. If the
CogID
instruction stops a cog whose ID is in the register CogID; placing that cog into a
(d-field) is the register containing the ID (0 – 7) of the cog to stop.
–DEST–
COGINIT
5: Assembly Language Reference –
instruction with
–SRC–
Z Result
WR
---
WC
effect is specified).
,
WZ
, and/or
Propeller Manual v1.0 · Page 367
C Result
WR
---
if you wish the flags or
Not Written
Result
WR
effect is
Clocks
7..22
WC

Related parts for 122-32000