CORDET Framework - C2 Implementation
|
Create one instance of the CrPsCmd17s3Prgr procedure. More...
Go to the source code of this file.
Macros | |
#define | CrPsCmd17s3Prgr_N1 (1) /* The identifier of action node N1 in procedure CrPsCmd17s3Prgr */ |
Make sure to include this header file only once. More... | |
#define | CrPsCmd17s3Prgr_N2 (2) /* The identifier of action node N2 in procedure CrPsCmd17s3Prgr */ |
#define | CrPsCmd17s3Prgr_N3 (3) /* The identifier of action node N3 in procedure CrPsCmd17s3Prgr */ |
#define | CrPsCmd17s3Prgr_N4 (4) /* The identifier of action node N4 in procedure CrPsCmd17s3Prgr */ |
Functions | |
FwPrDesc_t | CrPsCmd17s3PrgrCreate (void *prData) |
Create a new procedure descriptor. More... | |
void | CrPsTestOnBoardConnectionPrgrN1 (FwPrDesc_t prDesc) |
Action for node N1. More... | |
void | CrPsTestOnBoardConnectionPrgrN2 (FwPrDesc_t prDesc) |
Action for node N2. More... | |
void | CrPsTestOnBoardConnectionPrgrN3 (FwPrDesc_t prDesc) |
Action for node N3. More... | |
void | CrPsTestOnBoardConnectionPrgrN4 (FwPrDesc_t prDesc) |
Action for node N4. More... | |
FwPrBool_t | CrPsTestOnBoardConnectionPrgrG11 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION1 to N1. More... | |
FwPrBool_t | CrPsTestOnBoardConnectionPrgrG12 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION1 to N2. More... | |
FwPrBool_t | CrPsTestOnBoardConnectionPrgrG13 (FwPrDesc_t prDesc) |
Guard on the Control Flow from DECISION1 to N3. More... | |
Create one instance of the CrPsCmd17s3Prgr procedure.
This header file declares the function to create one instance of the CrPsCmd17s3Prgr procedure. The procedure is configured with a set of function pointers representing the non-default actions and guards of the procedure. Some of these functions may also be declared in this header file in accordance with the configuration of the procedure in the FW Profile Editor. In the latter case, the user has to provide an implementation for these functions in a user-supplied body file.
This header file has been automatically generated by the FW Profile Editor. The procedure created by this file is shown in the figure below.
last modification: 22.01.2018
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Definition in file CrPsCmd17s3PrgrCreate.h.
#define CrPsCmd17s3Prgr_N1 (1) /* The identifier of action node N1 in procedure CrPsCmd17s3Prgr */ |
Make sure to include this header file only once.
FW Profile function definitions Action node identifiers
Definition at line 43 of file CrPsCmd17s3PrgrCreate.h.
FwPrDesc_t CrPsCmd17s3PrgrCreate | ( | void * | prData | ) |
Create a new procedure descriptor.
This interface creates the procedure descriptor dynamically.
prData | the pointer to the procedure data. A value of NULL is legal (note that the default value of the pointer to the procedure data when the procedure is created is NULL). |
Create a new procedure descriptor.
CrPsCmd17s3Prgr function definitions
Create the procedure
Configure the procedure
Definition at line 34 of file CrPsCmd17s3PrgrCreate.c.
FwPrBool_t CrPsTestOnBoardConnectionPrgrG11 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION1 to N1.
(areYouAliveSrc > 0) && (time elapsed since command execution started smaller than areYouAliveTimeOut)
smDesc | the procedure descriptor |
Definition at line 154 of file CrPsCmd17s3PrgrFunc.c.
FwPrBool_t CrPsTestOnBoardConnectionPrgrG12 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION1 to N2.
(areYouAliveSrc == 0) && (time elapsed since command execution started smaller than areYouAliveTimeOut)
smDesc | the procedure descriptor |
Definition at line 182 of file CrPsCmd17s3PrgrFunc.c.
FwPrBool_t CrPsTestOnBoardConnectionPrgrG13 | ( | FwPrDesc_t | prDesc | ) |
Guard on the Control Flow from DECISION1 to N3.
time elapsed since command execution started equal or greater than areYouAliveTimeOut
smDesc | the procedure descriptor |
Definition at line 210 of file CrPsCmd17s3PrgrFunc.c.
void CrPsTestOnBoardConnectionPrgrN1 | ( | FwPrDesc_t | prDesc | ) |
Action for node N1.
Configure the (17,4) report with a destination equal to the source of the (17,3), load it in the OutLoader, and set action outcome to 'completed'
smDesc | the procedure descriptor |
Action for node N1.
FW Profile function definitions
Definition at line 51 of file CrPsCmd17s3PrgrFunc.c.
void CrPsTestOnBoardConnectionPrgrN2 | ( | FwPrDesc_t | prDesc | ) |
Action for node N2.
Set action outcome to 'continue'
smDesc | the procedure descriptor |
Definition at line 97 of file CrPsCmd17s3PrgrFunc.c.
void CrPsTestOnBoardConnectionPrgrN3 | ( | FwPrDesc_t | prDesc | ) |
Action for node N3.
Set action outcome to 'completed'
smDesc | the procedure descriptor |
Definition at line 113 of file CrPsCmd17s3PrgrFunc.c.
void CrPsTestOnBoardConnectionPrgrN4 | ( | FwPrDesc_t | prDesc | ) |
Action for node N4.
Release (17,4) report
smDesc | the procedure descriptor |
Definition at line 129 of file CrPsCmd17s3PrgrFunc.c.