User`s manual
BL160042 s System Development
TxI
Counter
TxO
(a) Input Drops to 0 After Counter Reaches 0
TxI
Counter
TxO
(b) Input Drops to 0 Before Counter Reaches 0
Timers
There are 10 virtual timers. Each timer has an input flag, an output flag,
and a reload value as follows.
T1I, T2I, ..., T10I input flags
T1O
, T2O, ..., T10O output flags
T1RLD
, T2RLD, ..., T10RLD reload values
When a timer input (e.g., T1I) goes from 0 to 1, the counter starts counting
down from the reload value (e.g., T1RLD), one count every virtual driver
tick (25 ms). When the count reaches zero, the output flag (T1O) is set to
1. Whenever the input is set to zero, the output flag is forced to zero. If
the input goes to zero before the counter expires, nothing happens to the
output. It stays at 0. Figure 4-9 shows the behavior of the output flags for
both counter scenarios.
The virtual timers are implemented in software and do not correspond to
any BL1600 hardware.
Figure 4-9. Output Flag as Timer Counts Down