CORDET Framework - C2 Implementation
|
OutComponent encapsulating a command to enable or disable temperature monitoring in a Slave Application. More...
Go to the source code of this file.
Functions | |
void | CrMaOutCmpEnableDisableSerialize (FwSmDesc_t smDesc) |
Implementation of the Serialize Operation for the command to enable or disable temperature monitoring. More... | |
OutComponent encapsulating a command to enable or disable temperature monitoring in a Slave Application.
An OutComponent is defined by defining the functions which override its adaptation points, namely (see CrFwOutCmp.h
):
These operations are defined as follows for the command to enable/disable temperature monitoring:
CrFwOutCmpDefEnableCheck.h
is used.CrFwSmCheckAlwaysTrue.h
is used.CrFwOutCmpDefSerialize.h
and then it sets the command destination (either Slave 1 or Slave 2) and it sets the acknowledge level to acknowledge execution start.This file is part of the CORDET Framework.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
For information on alternative licensing, please contact P&P Software GmbH.
Definition in file CrMaOutCmpEnableDisable.h.
void CrMaOutCmpEnableDisableSerialize | ( | FwSmDesc_t | smDesc | ) |
Implementation of the Serialize Operation for the command to enable or disable temperature monitoring.
This operation calls the default Serialize Operation of CrFwOutCmpDefSerialize.h
and then it sets the destination (either Slave 1 or Slave 2) and it sets the acknowledge level to acknowledge execution start. The value of the temperature limit is set through function CrMaOutCmpSetTempLimitSetTempLimit
.
smDesc | the descriptor of the OutComponent state machine |
Definition at line 39 of file CrMaOutCmpEnableDisable.c.