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

definitions for used events More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define KEY0_RS_EVENT   (0b00001)
 runs or stops the motor via key_0
 
#define KEY2_MINUS_EVENT   (0b00010)
 decreases the steps to turn via key_2
 
#define KEY3_PLUS_EVENT   (0b00100)
 increases the steps to turn via key_3
 
#define MOTOR_STOP_EVENT   (0b01000)
 the interrupt is sent via VHDL-Component, when the motor reached its end-position
 
#define SW_UPDATE_EVENT   (0b10000)
 signalizes that switches changed
 
#define DEBUG_ON_EVENT   (0x1)
 activates the debug-mode via sw_9
 
#define DEBUG_OFF_EVENT   (0x2)
 deactivates the debug-mode via sw_9
 
#define MOTOR_STOP_EVENT   (0b01000)
 the interrupt is sent via VHDL-Component, when the motor reached its end-position
 
#define GLOB_VAR_UPDATE   (0b00001)
 signals that data changed
 

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

Detailed Description

definitions for used events

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

v0.1.0 27.10.2014 Riedel

  • first draft for milestone 1b

v0.1.1 30.10.2014 Riedel

v1.0.0 07.11.2014 Kossmann

  • added DEBUG_OFF_EVENT

v2.0.0 18.11.2014 Riedel & Kossmann

  • introduced userOutputTaskFlagsGrp and GLOB_VAR_UPDATE event for signaling changed data in global IPC variable
  • verified functionality -> release MS2

Definition in file events.h.

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.

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.