FRQA, FRQB

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:

FRQA := $00001AFF

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 CTRA, CTRB for more information.

Unless otherwise noted, content on this site is licensed under the
Creative Commons Attribution-ShareAlike 4.0 International License.