DisablePRG Function (Macro)

intr.h

void DisablePRG (void);

Disables the programmable rate generator.

DisablePRG disables the programmable rate generator, which means that the value determined by PRG_getValue does not change and AUTO_INT_5 is not called any more.

Note: Auto interrupt 5 is used by the AMS, so the previous state (which can be determined using IsPRGEnabled) should be restored before the program terminates.

This macro does not work in VTI 2.5 Beta 5.


See also: EnablePRG, OSRegisterTimer