CORDET Framework - C2 Implementation
CrMaOutCmpEnableDisable.c
Go to the documentation of this file.
1 
19 #include <stdlib.h>
20 /* Include configuration files */
21 #include "CrFwCmpData.h"
22 /* Include framework files */
23 #include "CrFwConstants.h"
24 #include "OutCmp/CrFwOutCmp.h"
25 #include "BaseCmp/CrFwBaseCmp.h"
26 #include "BaseCmp/CrFwInitProc.h"
27 #include "BaseCmp/CrFwResetProc.h"
30 #include "Pckt/CrFwPckt.h"
31 /* Include FW Profile files */
32 #include "FwPrConfig.h"
33 #include "FwPrDCreate.h"
34 #include "FwSmConfig.h"
35 #include "FwSmDCreate.h"
36 #include "FwPrCore.h"
37 
38 /*-----------------------------------------------------------------------------------------*/
39 void CrMaOutCmpEnableDisableSerialize(FwSmDesc_t smDesc) {
40  CrFwOutCmpDefSerialize(smDesc);
41  CrFwOutCmpSetAckLevel(smDesc, 0, 1, 0, 0);
42 }
Definition of the OutFactory component.
Interface for creating and accessing a report or command packet.
void CrFwOutCmpSetAckLevel(FwSmDesc_t smDesc, CrFwBool_t accept, CrFwBool_t start, CrFwBool_t progress, CrFwBool_t term)
Set the acknowledge level for the command encapsulated in the OutComponent.
Definition: CrFwOutCmp.c:265
Dummy Component Execution Procedure (CEP) for the Base Component.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
void CrFwOutCmpDefSerialize(FwSmDesc_t smDesc)
Default implementation of the Serialize Operation for an OutComponent.
Definition: CrFwOutCmp.c:173
Definition of Base Component.
Component Initialization Procedure (CIP) for the Base Component.
Definition of the OutComponent Component of the framework.
void CrMaOutCmpEnableDisableSerialize(FwSmDesc_t smDesc)
Implementation of the Serialize Operation for the command to enable or disable temperature monitoring...
Component Reset Procedure (CRP) for the Base Component.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved