32 #include "CrFwCmpData.h" 35 #include "FwSmConstants.h" 36 #include "FwSmConfig.h" 38 #include "FwPrDCreate.h" 39 #include "FwPrConfig.h" 41 #include "FwPrConstants.h" 68 smDesc = FwPrGetData(prDesc);
73 pckt = cmpSpecificData->
pckt;
89 smDesc = FwPrGetData(prDesc);
94 FwSmSetData(smDesc, cmpData);
102 uint32_t LptBufferId;
108 LptBufferId =
Tid % LPT_N_BUF;
123 smDesc = FwPrGetData(prDesc);
128 FwSmSetData(smDesc, cmpData);
147 if (sm_state != CrPsLpt_UP_TRANSFER)
163 CrPsNumberU4_t PartSeqNmbOld, PartSeqNmb;
164 uint32_t LptBufferId;
174 LptBufferId =
Tid % LPT_N_BUF;
177 smDesc = FwPrGetData(prDesc);
182 pckt = cmpSpecificData->
pckt;
189 if (PartSeqNmb != PartSeqNmbOld + 1)
Type for the Framework Component Data (FCD).
FwPrBool_t CrPsLptUpCmdStartG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N2.
CrFwOutcome_t outcome
The outcome of an action or check executed by a state machine or by one of its procedures.
static CrPsNumberU4_t getLptUpFirstCmdPartSeqNmb(void *p)
Get "PartSeqNmb" from "LptUpFirstCmd" packet.
Create one instance of the CrPsLptUpCmdStart procedure.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
static void setDplptFailCodeItem(int i, CrPsFailCode_t lptFailCode)
Sets the value of the i-th element in the datapool array lptFailCode.
Interface for accessing data pool items.
Definition of the OutFactory component.
CrFwPckt_t pckt
Packet holding the InCommand.
Header file to define all service and packet identifiers.
Interface for creating and accessing a report or command packet.
void CrPsLptUpCmdStartN2(FwPrDesc_t prDesc)
Action for node N2.
Interface through which applications can initialize and execute framework PUS extension components...
void CrPsLptUpCmdStartN1(FwPrDesc_t prDesc)
Action for node N1.
Create one instance of the CrPsLpt state machine.
CrPsTid_t Tid
CrPsLptUpCmdStart function definitions.
void * cmpSpecificData
Derived data which are specific to each type of framework component.
Interface for accessing fields in packets of service "ServLPT".
FwSmDesc_t getSmDescLpt()
Getter for Lpt state machine descriptor.
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition of the OutComponent Component of the framework.
static CrFwCounterU4_t getDppartSeqNmbItem(int i)
Gets the value of the i-th element in the datapool array partSeqNmb.
FwPrBool_t CrPsLptUpCmdStartNG2(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N3.
void CrPsLptUpCmdStartN4(FwPrDesc_t prDesc)
Action for node N4.
Type for the data describing an InCommand.
static CrPsTid_t getLptUpInterCmdTid(void *p)
Get "Tid" from "LptUpInterCmd" packet.
void CrPsLptUpCmdStartN3(FwPrDesc_t prDesc)
Action for node N3.
Definition of the OutLoader component.