procedure TMR0_Delay_Start( ... )

Libraries ›› The DELAYS_TMR0 unit ›› Interface ››
Parent Previous Next

procedure TMR0_Delay_Start(Slot: tDelays_Slot; Mode: tDelays_Mode);

Start the counter.

Resets the timer status to "running", initializing the count from the beginning.

For One Shot mode, it may be used to implement a time-out: each call to Start will restart the timer from the beginning. Fail to do that quick enough will make the timer to "terminate".