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

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
PHSA, PHSB
Counter A and Counter B Phase-Locked Loop (PLL) Registers.
((PUB ┆ PRI))
((PUB ┆ PRI))
Returns: Current value of Counter A or Counter B Phase Lock Loop Register, if used as a
source variable.
Explanation
PHSA
behavior of a cog’s Counter Modules. Each cog has two identical counter modules (A and B)
that can perform many repetitive tasks. The
be directly read or written by the cog, but may also be accumulating with the value of
and
more information.
Using PHSA and PHSB
PHSA
The above code sets
register, this value may remain the same, or may automatically increment by the value in
at a frequency determined by the System Clock and the primary and/or secondary I/O pins.
See
Keep in mind that writing to
value and any potential accumulation scheduled for the same moment the write is performed.
PHSA
PHSB
PHSA := $1FFFFFFF
CTRA, CTRB
FRQB
and
and
, respectively, on potentially every System Clock cycle. See
PHSB
PHSB
can be read/written like other registers or pre-defined variables. For example:
are two of six registers (
on page 204 for more information.
PHSA
to $1FFFFFFF. Depending on the CTRMODE field of the
PHSA
4: Spin Language Reference –
or
PHSB
CTRA
,
directly overrides both the current accumulated
CTRB
PHSA
,
and
FRQA
PHSB
,
FRQB
registers contain values that can
,
Propeller Manual v1.0 · Page 285
PHSA
, and
CTRA
PHSB
on page 204 for
) that affect the
FRQA
CTRA
FRQA

Related parts for 122-32000