30 #include "FwPrDCreate.h" 31 #include "FwPrConfig.h" 64 const FwPrCounterU2_t DECISION1 = 1;
65 const FwPrCounterU2_t N_OUT_OF_DECISION1 = 2;
66 const FwPrCounterU2_t DECISION2 = 2;
67 const FwPrCounterU2_t N_OUT_OF_DECISION2 = 2;
70 FwPrDesc_t prDesc = FwPrCreate(
79 FwPrSetData(prDesc, prData);
81 FwPrAddDecisionNode(prDesc, DECISION1, N_OUT_OF_DECISION1);
83 FwPrAddDecisionNode(prDesc, DECISION2, N_OUT_OF_DECISION2);
89 FwPrAddFlowDecToDec(prDesc, DECISION1, DECISION2, &
code90177);
90 FwPrAddFlowActToFin(prDesc, CrPsLptUpCmdStart_N2, NULL);
92 FwPrAddFlowDecToAct(prDesc, DECISION2, CrPsLptUpCmdStart_N4, &
code70152);
93 FwPrAddFlowActToAct(prDesc, CrPsLptUpCmdStart_N3, CrPsLptUpCmdStart_N2, NULL);
94 FwPrAddFlowActToFin(prDesc, CrPsLptUpCmdStart_N4, NULL);
Create one instance of the CrPsLptUpCmdStart procedure.
static FwPrBool_t code70152(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N4.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
static FwPrBool_t code90177(FwPrDesc_t prDesc)
CR Framework function definitions.
void CrPsLptUpCmdStartN2(FwPrDesc_t prDesc)
Action for node N2.
FwPrBool_t CrPsLptUpCmdStartG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N2.
void CrPsLptUpCmdStartN4(FwPrDesc_t prDesc)
Action for node N4.
void CrPsLptUpCmdStartN3(FwPrDesc_t prDesc)
Action for node N3.
void CrPsLptUpCmdStartN1(FwPrDesc_t prDesc)
Action for node N1.
FwPrDesc_t CrPsLptUpCmdStartCreate(void *prData)
Create a new procedure descriptor.
#define CrPsLptUpCmdStart_N1
Make sure to include this header file only once.
FwPrBool_t CrPsLptUpCmdStartNG2(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N3.