IsPRGEnabled Function (Macro)

intr.h

short IsPRGEnabled (void);

Determines whether the programmable rate generator is enabled.

The programmable rate generator is used by the AMS and is normally on. However, if you enable or disable it in a program, first you should check whether it is currently enabled, which can be done with this macro.


See also: EnablePRG, DisablePRG