FW Profile - C1 Implementation
|
Demo application for the C1 Implementation of the FW Profile. More...
Go to the source code of this file.
Macros | |
#define | N_CYCLE 400 |
Number of cycles executed by the Demo Application. | |
Functions | |
int | main () |
Main program for the demo application. More... | |
Demo application for the C1 Implementation of the FW Profile.
This file defines the main
program for the demo application. The demo application shows how state machines can be used to implement a set of Failure Detection (FD) Checks for a Hardware Device and how procedures can be used to implement the Recovery Actions handling failures in the hardware device.
Definition in file FwDaMain.c.
int main | ( | ) |
Main program for the demo application.
The demo application consists of two parts: an initialization part and a cyclical part. In the initialization part, the following is done:
In the cyclical part, the following is done:
The cycle is executed N_CYCLE times.
Definition at line 59 of file FwDaMain.c.