Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Register: Counter A and Counter B frequency registers.

((PUBPRI))
  FRQA

...

((PUBPRI)) 
  FRQB

...

Returns: Current value of Counter A or Counter B Frequency Register, if used as a source variable.

Explanation

...

Using FRQA and FRQB

FRQA and FRQB can be read/written just like any other register or pre-defined variable. For example:

...

The above code sets FRQA to $00001AFF. Depending on the CTRMODE field of the CTRA register, this value in FRQA may be added into the PHSA register at a frequency determined by the System Clock and the primary and/or secondary I/O pins. See See CTRA, CTRB on page for more information.