The supervisor of the digital watch.

This example is defined in the directory: /home/lbesnard/Polychrony/V4.19/Linux/Examples/watch/SUPER.

Description

This directory contains the supervisor of the complete STOPWATCH program, built by extracting the control parts of its devices. It allows to study the dispatching of external events to the three modes:

The HCHRONO events are synchronous to every M1 system ticks (HE). The scanning of external user events UR and LR is synchronous to HCHRONO events. The internal STOPWATCH events RINGUP (ringing start events) are externally generated. The HSLOW events are synchronous to every M2 HCHRONO events. The scanning of external user events UL, LL and RINGUP is synchronous to HSLOW events. To get the bell ringing, an event BEEP is emitted every PI ticks of HSLOW. The program generates NAL such BEEP events from each ringup unless it is cancelled by a UL, LL, UR or LR event.

Signal Programs

Compiling

    signal VTSUPER.SIG -par=VTSUPER.PAR -c 

It produces C code in VTSUPER sub-directory.

Execution (Unix)

Goto the VTSUPER sub-directory, then execute the following commands:

       make 

then

       VTSUPER
 All Files

Generated on Mon Jul 25 16:55:00 2011 for Polychrony, by  doxygen 1.6.1. This page has been designed by the Espresso team ( contact )