- Global FL_ALRM
- since alarms are not immediate and therefor can be read from the hardware I/O lines, but they have a number of events to be counted before actually signal an alarm (digital low pass filter) then there is the need of 2 counter for the two lines and 2 flags for the two separate lines. For the moment we keep only the main alarm. This will be fixed when alarms and lines will be treated indipendently.
- Global prog_alarm (struct programs_t *progs)
- Bistable valve non-compatible.
- Global queue_run (struct programs_t *progs, struct tm *tm_clock, struct debug_t *debug)
- With bistable valve opening and closing oline cannot be done at the same time, any io-action must be done on separate queue-run.
- Global tcn75_one_shot (void)
- should check the config register after the delay to see if the sample has been taken.