Stepper-Motor-Control  v3.0.0
System on a Chip 2014 - Group 04
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
motorIRQhandler.h
Go to the documentation of this file.
1 /**
2  *****************************************************************************
3  * @file motorIRQhandler.h
4  * @author Michael Riedel
5  * @author Marc Kossmann
6  * @version v1.0.0
7  * @date 11.11.2014
8  * @brief Header file for motorIRQhandler.c
9  *****************************************************************************
10  * @par History:
11  * @details v0.1.0 21.10.2014 Riedel & Kossmann
12  * - first draft for milestone 1b
13  * @details v0.1.1 27.10.2014 Riedel
14  * - added function-documentation
15  * @details v0.1.2 29.10.2014 Kossmann
16  * - moved all belonging includes in this file
17  * v1.0.0 02.11.2014 Riedel
18  * - finalized ISR-functionality
19  *****************************************************************************
20  */
21 
22 #ifndef __MOTOR_IRQ_HANDLER_H__
23 #define __MOTOR_IRQ_HANDLER_H__
24 
25 #include <sys/alt_irq.h>
26 #include "includes.h"
27 #include "registerAccess.h"
28 #include "events.h"
29 #include "debugAndErrorOutput.h"
30 
31 /**
32  * @brief IRQ-Handler for motor stopped
33  * @details sets an event, when motor stopped
34  * @param context : pointer to context variable (not used)
35  * @retval none
36  */
37 void motorIRQhandler(void *context);
38 
39 #endif // __MOTOR_IRQ_HANDLER_H__
definitions for used events
void motorIRQhandler(void *context)
IRQ-Handler for motor stopped.
Header file with inline functions to access the registers that are used by the Stepper-Motor-Control ...
Defines for Error and Debug-Output Management.