Stepper-Motor-Control  v3.0.0
System on a Chip 2014 - Group 04
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
userOutputTask.c File Reference

Source code for User-Output-Task which communications with the user and shows him system information. More...

Include dependency graph for userOutputTask.c:

Go to the source code of this file.

Functions

void UserOutputTask (void *pdata)
 UserOutputTask. More...
 
void printTerminalInfo (outputTaskData_t *outputTaskDataPtr, uint32_t *termMsgCounterPtr)
 Prints Motor information on the terminal. More...
 

Variables

OS_FLAG_GRP * userOutputTaskFlagsGrp
 The flags group used in the user-output-task. More...
 

Detailed Description

Source code for User-Output-Task which communications with the user and shows him system information.

Author
Michael Riedel
Marc Kossmann
Version
v2.0.0
Date
18.11.2014
History:

v0.1.0 21.10.2014 Kossmann

  • first draft for milestone 1b

v0.1.1 30.10.2014 Kossmann

  • added error handling for flags and mailboxes

v0.1.2 06.11.2014 Riedel

  • added usage of new LCD-functions

v1.0.0 11.11.2014 Riedel & Kossmann

  • moved 1 second wait to userInputTask

v1.0.1 13.11.2014 Kossmann

  • removed OutputTaskMailbox and using global var instead

v2.0.0 18.11.2014 Riedel & Kossmann

  • corrected position of version lcd output
  • added waiting for GLOB_VAR_UPDATE event
    See also
    events.h
  • verified functionality -> release MS2

v2.0.1 18.11.2014 Riedel & Kossmann

  • added terminal output "New Step Chain Event"

Definition in file userOutputTask.c.

Function Documentation

void printTerminalInfo ( outputTaskData_t outputTaskDataPtr,
uint32_t *  termMsgCounterPtr 
)

Prints Motor information on the terminal.

Shows all available information about the motor.

Parameters
[in]outputTaskDataPtr: Pointer to all data which is available for UserOuputTask()
[in]termMsgCounterPtr: Pointer to actual message counter
Return values
None

Definition at line 175 of file userOutputTask.c.

Here is the call graph for this function:

void UserOutputTask ( void *  pdata)

UserOutputTask.

Shows the user information about the system. On the lc-display are general information shown. The 7-segment displays show additional information to to lcd. The terminal is a litte bit more specific and shows complete motor behavior.

Parameters
pdata: Pointer to parameter structure (not used)
Return values
None

Definition at line 35 of file userOutputTask.c.

Here is the call graph for this function:

Variable Documentation

OS_FLAG_GRP* userOutputTaskFlagsGrp

The flags group used in the user-output-task.

This group contains all possibly events.

Definition at line 51 of file events.h.