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

Main-Routine for Stepper-Motor-Control. More...

#include "../INC/main.h"
Include dependency graph for main.c:

Go to the source code of this file.

Functions

int main (void)
 Main-Routine. More...
 

Variables

OS_FLAG_GRP * userInputTaskFlagsGrp
 The flags group used in the user-input-task. More...
 
OS_FLAG_GRP * heartbeatTaskFlagsGrp
 The flags group used in the heartbeat-task and user-input-task. More...
 
OS_FLAG_GRP * userOutputTaskFlagsGrp
 The flags group used in the user-output-task. More...
 
uint32_t ISRcontext
 Variable for ISR-Context. More...
 

Detailed Description

Main-Routine for Stepper-Motor-Control.

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

v0.1.0 22.10.2014 Riedel & Kossmann

  • first draft for milestone 1b

v0.1.1 29.10.2014 Kossmann

  • edited ISRs inits to work with new pio access concept

v0.1.2 30.10.2014 Kossmann

  • adopted error handling to new makro call
  • moved all flagsgroups to main and added creating them

v1.0.0 31.10.2014 Riedel & Kossmann

  • moved hardwareTest() and initial printouts into userInputTask because the need OS running

v1.0.1 14.11.2014 Kossmann

  • finished motor isr registration
  • moved init IPC global var to main

v2.0.0 18.11.2014 Riedel & Kossmann

  • adapted function call init_outputTaskDataTxRx
    See also
    auxilaryFunctions.h
  • verified functionality -> release MS2

Definition in file main.c.

Function Documentation

int main ( void  )

Main-Routine.

Return values
Errorcode

Definition at line 42 of file main.c.

Here is the call graph for this function:

Variable Documentation

OS_FLAG_GRP* heartbeatTaskFlagsGrp

The flags group used in the heartbeat-task and user-input-task.

This group contains the debug-event that can be triggered via sw_9.

Definition at line 42 of file events.h.

uint32_t ISRcontext

Variable for ISR-Context.

Not used in this program

Definition at line 40 of file main.c.

OS_FLAG_GRP* userInputTaskFlagsGrp

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

This group contains all possibly events, which can be triggered by the user.

Definition at line 32 of file events.h.

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.