Crossware

Table of Contents        Previous topic       Next topic       

The Extension Interface->General Purpose Interface Calls->IncMachineCycles()

extern "C" void IncMachineCycles(LONG nExtensionState, LONG nCycles)

The extension should increment it's own count of the microcontrollers execution cycles by the value nCycles.  It should also increment anything else associated with the execution cycle count such as a watchdog timer or a peripheral that is linked to the cycle count.