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...
 

Detailed Description

Implementation of TC(13,9) LptUpFirstCmd.

Note
This file was generated on 2017-11-22 12:47:43
Author
PnP Generator
Christian Reimers chris.nosp@m.tian.nosp@m..reim.nosp@m.ers@.nosp@m.univi.nosp@m.e.ac.nosp@m..at
Markus Rockenbauer marku.nosp@m.s.ro.nosp@m.ckenb.nosp@m.auer.nosp@m.@univ.nosp@m.ie.a.nosp@m.c.at

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.h.

Function Documentation

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 amout of copied data; set lptTime to the current time; set partSeqNmb to 1; set lptSrc to the source of the command

Parameters
smDescThe state machine descriptor.

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

Parameters
smDescThe 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'

Parameters
smDescThe 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'

Parameters
smDescThe state machine descriptor.

Definition at line 158 of file CrPsLptUpFirstCmd.c.

P&P Software GmbH, Copyright 2012-2013, All Rights Reserved