| PRG_getValue | Function (Macro)

intr.h

unsigned char PRG_getValue (void);

Returns the current value stored in the programmable rate generator.

PRG_getValue returns the current value of the variable incremented by the programmable rate generator. When this value overflows from 0xFF to 0x00, auto interrupt 5 will be triggered (see PRG_setStart for more information about this value, and SetIntVec for more information about auto interrupts).

See also: PRG_setStart, PRG_setRate