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

Header file for userOutputTask.c. More...

#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include "includes.h"
#include "hardwareAccess.h"
#include "debugAndErrorOutput.h"
#include "userInputTask.h"
Include dependency graph for userOutputTask.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HEX_ZERO   (0b0111111)
 number 0 on HEX-segments
 
#define HEX_ONE   (0b0000110)
 number 1 on HEX-segments
 
#define HEX_TWO   (0b1011011)
 number 2 on HEX-segments
 
#define HEX_THREE   (0b1001111)
 number 3 on HEX-segments
 
#define HEX_FOUR   (0b1100110)
 number 4 on HEX-segments
 
#define HEX_FIVE   (0b1101101)
 number 5 on HEX-segments
 
#define HEX_SIX   (0b1111101)
 number 6 on HEX-segments
 
#define HEX_SEVEN   (0b0000111)
 number 7 on HEX-segments
 
#define HEX_EIGHT   (0b1111111)
 number 8 on HEX-segments
 
#define HEX_NINE   (0b1101111)
 number 9 on HEX-segments
 
#define HEX_LEFT   (0b0111000)
 L for left on HEX-segments
 
#define HEX_RIGHT   (0b1010000)
 r for right on HEX-segments
 
#define HEX_LINE   (0b1000000)
 middle line on HEX-segments
 

Functions

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

Detailed Description

Header file for userOutputTask.c.

Author
Michael Riedel
Marc Kossmann
Version
v2.0.0
Date
18.11.2014

Contains defines, includes, typedefs and declarations needed for this task.

History:

v0.1.0 21.10.2014 Kossmann

  • first draft for milestone 1b

v1.0.0 30.10.2014 Kossmann

  • added debug and error handling header

v1.0.1 13.11. Kossmann

v2.0.0 18.11.2014 Riedel & Kossmann

  • verified functionality -> release MS2

Definition in file userOutputTask.h.

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: