CORDET Framework - C2 Implementation
|
Implementation of TC(13,9) LptUpFirstCmd. More...
Go to the source code of this file.
Functions | |
void | CrPsLptUpFirstCmdStartAction (FwSmDesc_t smDesc) |
Start action of TC(13,9) LptUpFirstCmd. More... | |
void | CrPsLptUpFirstCmdProgressAction (FwSmDesc_t smDesc) |
Progress action of TC(13,9) LptUpFirstCmd. More... | |
void | CrPsLptUpFirstCmdTerminationAction (FwSmDesc_t smDesc) |
Termination action of TC(13,9) LptUpFirstCmd. More... | |
Variables | |
unsigned int | UpTransferLptBufferId |
Implementation of TC(13,9) LptUpFirstCmd.
last modification: 22.01.2018
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/.
Definition in file CrPsLptUpFirstCmd.c.
void CrPsLptUpFirstCmdProgressAction | ( | FwSmDesc_t | smDesc | ) |
Progress action of TC(13,9) LptUpFirstCmd.
Send command StartUpTransfer to LPT State Machine; copy the up-transfer data to LPT Buffer and set lptSize to be equal to the amount of copied data; set lptTime to the current time; set partSeqNmb to 1; set lptSrc to the source of the command
smDesc | The state machine descriptor. |
Definition at line 101 of file CrPsLptUpFirstCmd.c.
void CrPsLptUpFirstCmdStartAction | ( | FwSmDesc_t | smDesc | ) |
Start action of TC(13,9) LptUpFirstCmd.
Determine the identifier of the LPT Buffer for the up-transfer by computing: (x MOD LPT_N_BUF) where `x' is the Large Message Transaction Identifier. Set action outcome to 'success' if the Part Sequence Number is equal to 1 and the LPT State Machine is in state INACTIVE; otherwise set the action outcome to `failure'
smDesc | The state machine descriptor. |
Definition at line 64 of file CrPsLptUpFirstCmd.c.
void CrPsLptUpFirstCmdTerminationAction | ( | FwSmDesc_t | smDesc | ) |
Termination action of TC(13,9) LptUpFirstCmd.
Set action outcome to 'success'
smDesc | The state machine descriptor. |
Definition at line 158 of file CrPsLptUpFirstCmd.c.