User`s manual

PK2100
System Development s 4-7
Timers
There are 10 virtual timers. Each timer has an input flag, an output flag,
and a reload value.
T1IN, T2IN ... T10IN // input flags
T1O, T2O ... T10O // output flags
T1RLD, T2RLD ... T10RLD // reload values
When a timer input (for example, T1IN) goes from 0 to 1, the counter
starts counting from the reload value (for example, T1RLD) down, one
count every virtual driver tick (25 milliseconds). The output flag (T1O) is
set to 1 when the count reaches zero. The output is forced to zero when-
ever the input is set to zero.
TxIN
Counter
TxO
Figure 4-1. Timer Ouput Variation Over Time
with Timer Input and Counter