27 #ifndef CRFW_USERCONSTANTS_H_ 28 #define CRFW_USERCONSTANTS_H_ 30 #include "FwPrConstants.h" 90 typedef uint32_t CrFwCounterU4_t;
96 typedef unsigned char CrFwPcktVersion_t;
102 typedef unsigned char CrFwPcktSeqFlags_t;
105 typedef unsigned short CrFwPcktCrc_t;
227 #define CR_FW_MAX_NOF_PCKTS 20 230 #define CR_FW_HOST_APP_ID 10 235 #define CR_FW_CLIENT_APP2 60 242 #define CR_FW_CLIENT_GRD_PUS 0 253 #define CR_FW_CLIENT_GRD 1 259 #define CR_FW_CLIENT_HK_STRG 21 265 #define CR_FW_CLIENT_OBC 12 268 #define CR_FW_NBITS_APP_ID 11 271 #define CR_FW_MAX_SERV_TYPE 100 274 #define CR_FW_MAX_SERV_SUBTYPE 150 277 #define CR_FW_MAX_DISCRIMINANT 50 280 #define CR_FW_PCAT_SEM_TC 0x0C 281 #define CR_FW_PCAT_SEM_TM 0x01 283 #define CR_FW_PCAT_DPU_TC 0x0C 284 #define CR_FW_PCAT_DPU_TM_OTHER 0x02 285 #define CR_FW_PCAT_DPU_TM_SERV1_5_6 0x01 286 #define CR_FW_PCAT_DPU_TM_SERV13 0x04 287 #define CR_FW_PCAT_DPU_TM_SERV196 0x03 A framework function has been called with an illegal OutManager identifier.
An InReport could not be created due to insufficient resources or illegal type/sub-type/discriminant...
unsigned short CrFwTrackingIndex_t
Type for the index used to track the state of a component.
A framework function was called with an illegal service type.
Allocation request for a packet for an InCommand has failed (see CrFwInFactoryMakeInCmd).
A packet allocation request has failed (see CrFwPcktMake).
A framework function was called with an illegal service sub-type.
unsigned char CrFwServSubType_t
Type used for the command or report sub-type.
An InReport release request has encountered an error (see CrFwInFactoryReleaseInRep).
unsigned char CrFwGroup_t
Type used for the destination or source group of a packet.
An OutComponent has an invalid destination (see CrFwOutCmp.h)
unsigned int CrFwCmdRepKindKey_t
Type for the component kind key in CrFwInFactory.c and CrFwOutFactory.c.
An InReport or InCommand has failed its acceptance check.
An InStream function was called on an object which is not an InStream.
The Pending Command/Report List (PCRL) of an InManager is full (see CrFwInManager.h)
unsigned short CrFwInstanceId_t
Type used for instance identifiers.
unsigned char CrFwOutFactoryPoolIndex_t
Type for the index in the pool of pre-allocated OutComponents in the OutFactory (see CrFwOutFactory...
unsigned short int CrFwTypeId_t
Type used for the identifier of a component type.
An InCommand release request has encountered an error (see CrFwInFactoryReleaseInCmd).
A framework function has been called with an illegal OutStream identifier.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
An OutComponent allocation request has failed (see CrFwOutFactoryMakeOutCmp).
A framework function has been called with a source attribute which is not associated to any InStream...
A framework function has been called with an illegal InManager identifier.
An OutComponent release request has encountered an error (see CrFwOutFactoryReleaseOutCmp).
unsigned char CrFwServType_t
Type used for the service type of a command or report.
Allocation request for an InReport has failed (see CrFwInFactoryMakeInRep).
unsigned short CrFwCmdRepKindIndex_t
Type for the index of a command or report kind.
An OutComponent function was called on an object which is not an OutComponent.
An InReport could not be loaded in its InManager.
An OutStream function was called on an object which is not an OutStream.
Type used for the time stamp of a command or report.
A framework function has been called with an illegal InStream identifier.
The InLoader has retrieved a packet with an invalid destination (see CrFwInLoader.h)
unsigned short int CrFwPcktLength_t
Type for the packet length.
CrFwRepErrCode_t
Identifier for the errors reported through the error reporting interface of CrFwRepErr.h.
unsigned char CrFwInFactoryPoolIndex_t
Type for the index in the pool of pre-allocated incoming components in the InFactory (see CrFwInFacto...
The packet queue of an InStream is full (see CrFwInStream.h)
The Pending OutComponent List (POCL) of an OutManager is full (see CrFwOutManager.h)
An OutComponent has an illegal group.
unsigned char CrFwOutcome_t
Type used for the outcome of a check (see CrFwCmpData).
A framework function was called with an illegal type/sub-type/discriminant triplet for an InReport...
A framework function was called with an illegal type/sub-type/discriminant triplet for an OutComponen...
A framework function was called with an illegal type/sub-type pair for an OutComponent.
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
The packet queue of an OutStream is full (see CrFwOutStream.h)
CrFwAppErrCode_t
Application error code for the framework components.
A framework function was called with an illegal type/sub-type/discriminant triplet for an InCommand...
An incoming command or report has an illegal group.
signed char CrFwCounterS1_t
Type used for signed integers with a "short" range.
An OutStream cannot buffer an out-going packet because no more packets are available (see CrFwOutStre...
A framework function was called with an illegal discriminant.
An InStream has encountered a sequence counter error (see CrFwInStream.h)
A packet release request has encountered an error (see CrFwPcktRelease).
No application errors have been detected.
unsigned char CrFwCounterU1_t
Type used for unsigned integers with a "short" range.
A framework function has been called with a destination attribute which is not associated to any OutS...
unsigned short CrFwCounterU2_t
Type used for unsigned integers with a "medium" range.
unsigned int CrFwSeqCnt_t
Type used for the sequence counter of commands or reports.
unsigned int CrFwTimeStamp_t
Type used for the time stamp of a command or report.