24 #include <FwPrConfig.h> 25 #include <FwSmConfig.h> 30 #include <CrFwCmpData.h> 53 CrFwCounterU4_t N1, N2, NFA;
56 CrFwCounterU4_t offset;
63 pckt = cmpSpecificData->
pckt;
107 for (i=0; i<NFA; i++)
120 N2ParamId =
getDplstIdItem(rdlSlot*HK_MAX_N_ITEMS + N1 + offset + j);
Type for the Framework Component Data (FCD).
void setHkRepStructRepNFA(void *p, CrFwCounterU4_t src)
Set "NFA" in "HkRepStructRep" packet.
uint32_t CrPsRepNum_t
Type used for the Repetition Number of a packet.
static CrPsPeriod_t getDpperiodItem(int i)
Gets the value of the i-th element in the datapool array period.
void setHkRepStructRepSCSampleRepNumItem(void *p, CrFwCounterU4_t NFA, CrPsRepNum_t src)
Set "SCSampleRepNum" in "HkRepStructRep" packet.
CrFwCounterU4_t i
CrPsCmd5EidStart function definitions.
CrFwDiscriminant_t CrFwPcktGetDiscriminant(CrFwPckt_t pckt)
Return the discriminant of the command or report encapsulated in a packet.
static void setHkRepStructRepRepStrucId(void *p, CrPsSid_t RepStrucId)
Set "RepStrucId" in "HkRepStructRep" packet.
Header file to define all user-configurable constants and types for the IASW Application.
uint16_t CrPsParamId_t
Type used for the Parameter ID of a packet.
static void setHkRepStructRepN1(void *p, CrFwCounterU4_t N1)
Set "N1" in "HkRepStructRep" packet.
Interface for accessing data pool items.
Type for the data describing an OutComponent.
Header file to define all service and packet identifiers.
void setHkRepStructRepN2ParamIdItem(void *p, CrFwCounterU4_t NFA, CrFwCounterU4_t N2, CrPsParamId_t src)
Set "N2ParamID" in "HkRepStructRep" packet.
CrFwPckt_t pckt
Packet to which the out-going command or report is serialized.
Interface for creating and accessing a report or command packet.
Declaration of the Housekeeping Structure Report (3,10) or Disgnostic Structure Report (3...
static CrPsSid_t getDpsidItem(int i)
Gets the value of the i-th element in the datapool array sid.
auxiliary Interface for accessing fields in packets of service "ServHk".
uint32_t CrPsCollectInterval_t
Type used for the Collection Interval of a packet.
static CrFwDiscriminant_t disc
Discriminant.
static CrFwCounterU4_t getNFA(int i)
Gets the number of super-commutated groups (NFA) from number of sample repetition numbers (rep[]) ...
static void setHkRepStructRepPeriodicGenActionStatus(void *p, CrPsStatus_t PeriodicGenActionStatus)
Set "PeriodicGenActionStatus" in "HkRepStructRep" packet.
void setHkRepStructRepN1ParamIdItem(void *p, CrFwCounterU4_t N, CrPsParamId_t src)
Set "N1ParamId" arrayItem in "HkRepStructRep" packet.
void * cmpSpecificData
Derived data which are specific to each type of framework component.
static CrPsNumberU2_t getDplstNSampRepItem(int i)
Gets the value of the i-th element in the datapool array lstNSampRep.
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
#define HK_N_REP_DEF
Number of Report Definitions in the Report Definition List (maximum number of housekeeping/diagnostic...
uint8_t CrPsSid_t
Type used for the Parameter Report Structure ID of a packet.
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
#define HK_MAX_N_GR
Maximum number of super-commutated groups in a house- keeping/diagnostic report.
Definition of the OutComponent Component of the framework.
static uint16_t getDplstSampleRepItem(int i)
Gets the value of the i-th element in the datapool array lstSampleRep.
void setHkRepStructRepN2(void *p, CrFwCounterU4_t NFA, CrFwCounterU4_t N2)
Set "N2" in "HkRepStructRep" packet.
Interface for accessing fields in packets of service "ServHk".
uint8_t CrPsStatus_t
Type used for the Status of a packet.
static CrPsParamId_t getDplstIdItem(int i)
Gets the value of the i-th element in the datapool array lstId.
void CrPsHkRepStructRepUpdateAction(FwSmDesc_t smDesc)
Update action of the Housekeeping Structure Report (3,10) out-going report packet.
Interface for accessing data pool items.
static void setHkRepStructRepCollectionInterval(void *p, CrPsCollectInterval_t CollectionInterval)
Set "CollectionInterval" in "HkRepStructRep" packet.
static CrPsNumberU2_t getDpnSimpleItem(int i)
Gets the value of the i-th element in the datapool array nSimple.