27 #include <CrFwCmpData.h> 31 #include <FwPrConfig.h> 32 #include <FwSmConfig.h> 45 FwPrDesc_t prDescLptUpCmdStart;
58 if (FwPrCheck(prDescLptUpCmdStart) != prSuccess)
67 if (FwSmCheckRec(smDescLpt) != smSuccess)
87 FwSmMakeTrans(smDescLpt,
Execute);
107 return prDescLptUpCmdStart;
136 clock_gettime(CLOCK_REALTIME, &now);
138 fine = (uint32_t)(32.768 * (
float)now.tv_nsec / (float)1000000);
140 ts.t[3] = coarse & 0xff;
141 ts.t[2] = (coarse >> 8) & 0xff;
142 ts.t[1] = (coarse >> 16) & 0xff;
143 ts.t[0] = (coarse >> 24) & 0xff;
144 ts.t[4] = (fine >> 7) & 0x7f;
145 ts.t[5] = fine & 0xfe;
FwPrDesc_t getPrDescLptUpCmdStart()
Getter for LptUpCmdStart procedure descriptor.
Create one instance of the CrPsLptUpCmdStart procedure.
Interface for accessing data pool items.
Definition of the OutFactory component.
static void setDplptSizeItem(int i, CrPsSize_t lptSize)
Sets the value of the i-th element in the datapool array lptSize.
uint32_t getLptMemSize(uint32_t LptBuffer)
Getter function to return the size of the Data.
Header file to define all service and packet identifiers.
Interface for creating and accessing a report or command packet.
Interface through which applications can initialize and execute framework PUS extension components...
Create one instance of the CrPsLpt state machine.
void CrPsExecServLpt()
Execution of CORDET Framework PUS Extension components.
void initDpServLpt(void)
Initialises ServLpt.
FwSmDesc_t CrPsLptCreate(void *smData)
CrPsLpt function definitions.
FwSmDesc_t getSmDescLpt()
Getter for Lpt state machine descriptor.
FwPrDesc_t CrPsLptUpCmdStartCreate(void *prData)
Create a new procedure descriptor.
void CrPsExecServLptSm()
Execution of CORDET Framework PUS Extension components.
int CrPsInitServLpt()
Initialization of CORDET Framework PUS Extension components.
Interface for accessing data pool items.
Definition of the OutLoader component.
CrFwTimeStamp_t CrFwGetCurrentTimeServer()
Provide the current time.
#define Execute
The identifiers of transition commands (triggers)
unsigned int CrFwTimeStamp_t
Type used for the time stamp of a command or report.