actask.c File Reference


Functions

static INT32 DeleteMsgFromBusyList (tBusyEntry *pstBusyEntry)
 Delete a message from the busy list.
static void ACT_Busy (UINT32 ulArgc, void *pTaskControlBlock)
 handles ACT busy messages
static void ACT_Execution (UINT32 ulArgc, void *pTaskControlBlock)
 ACT task loop.
static INT32 ProcessACTMessage (tMsgControl *pstItcMsg)
 Process different commandos of ACT.

Detailed Description

Version:
01
asynchronus communication task

handles the asynchronous communication


Function Documentation

static void ACT_Busy UINT32  ulArgc,
void *  pTaskControlBlock
[static]
 

handles ACT busy messages

Parameters:
[in] ulArgc Number of argumetns passed to the task pvArgv Pointer to tasks call arguments
[out] -- --
RETURN

-- This is a never eneding loop. Exits from this loop take place by means of NUCLEUS function calls.

HISTORY

DATE REMARKS

13.06.2005 Created initial version

static void ACT_Execution UINT32  ulArgc,
void *  pTaskControlBlock
[static]
 

ACT task loop.

Parameters:
[in] ulArgc Number of argumetns passed to the task pvArgv Pointer to tasks call arguments
[out] -- --
RETURN

-- This is a never eneding loop. Exits from this loop take place by means of NUCLEUS function calls.

HISTORY

DATE REMARKS

13.06.2005 Created initial version

Wait for a message

Message received, process the message

remove the task from system

static INT32 DeleteMsgFromBusyList tBusyEntry *  pstBusyEntry  )  [static]
 

Delete a message from the busy list.

Parameters:
[in] pstBusyEntry pointer to a busy entry
[out] -- --
Returns:
NU_SUCCESS Task was created successfully other Error
HISTORY

DATE REMARKS

13.06.2005 Created initial version

set the current pointer to the beginning of the list

search the entry wich should be deleted

not the first entry

not the last entry

the last entry

this is the first entry in the list

not the last entry

static INT32 ProcessACTMessage tMsgControl *  pstItcMsg  )  [static]
 

Process different commandos of ACT.

Parameters:
[in] pstActMsg pointer to ACT message
[out] -- --
Returns:
NU_SUCCESS Task was created successfully other Error
HISTORY

DATE REMARKS

13.06.2005 Created initial version

create a new task which handles the communication

at this time it can not be created a new task, so send a busy response the maximum number of communication task reached

command is not supported


Generated on Wed Oct 26 11:48:33 2005 for TestSuite by  doxygen 1.4.5