Countdown Timers
This collection of instructions operate on the countdown timers.
There are 8 countdown timers, numbered 0 thru 7. These timers may be started or stopped at will and they don't consume any RAM. They are global and are shared amoungst all tasks.
SPLat 8 bit controllers (green boards)
All these timers can have a maximum count of 32767, but the duration this equals varies depending on the timer number.
- Timers 0 thru 3 count in 100ms increments. The maximum count time is 54 minutes, 36 seconds.
- Timers 4 thru 7 count in 10ms increments. The maximum count time is 5 minutes, 27 seconds.
SPLat 32 bit controllers (black boards)
All these timers can have a maximum count of 16777215 via fSetTimer, but the duration this equals varies depending on the timer number.
- Timers 0 thru 3 count in 100ms increments. The maximum count time is 19 days, 10 hours, 2 minutes.
- Timers 4 thru 7 count in 10ms increments. The maximum count time is 1 day, 22 hours, 36 minutes, 12 seconds.
Using SetTimer, the maximum count is 65535 which gives a duration per timer of:
- Timers 0 thru 3 count in 100ms increments. The maximum count time is 1 hour, 49 minutes, 13 seconds.
- Timers 4 thru 7 count in 10ms increments. The maximum count time is 10 minutes, 55 seconds.
Note: These timers are not affected by changing the task time tick.