Stepper-Motor-Control  v3.0.0
System on a Chip 2014 - Group 04
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
switchesIRQhandler.h
Go to the documentation of this file.
1 /**
2  *****************************************************************************
3  * @file switchesIRQhandler.h
4  * @author Michael Riedel
5  * @author Marc Kossmann
6  * @version v1.0.0
7  * @date 11.11.2014
8  * @brief Header for IRQ-Handler for switches
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  * @details v1.0.0 30.10.2014 Kossmann
18  * - added debug and error handling header
19  *****************************************************************************
20  */
21 
22 #ifndef __SWITCHES_IRQ_HANDLER_H__
23 #define __SWITCHES_IRQ_HANDLER_H__
24 
25 #include <sys/alt_irq.h>
26 #include "includes.h"
27 #include "hardwareAccess.h"
28 #include "events.h"
29 #include "debugAndErrorOutput.h"
30 
31 /**
32  * @brief IRQ-Handler for switches
33  * @details sends a mailbox-message containing the switches-positions
34  * @param context : pointer to context variable (not used)
35  * @retval none
36  */
37 void switchesIRQhandler(void *context);
38 
39 #endif // __SWITCHES_IRQ_HANDLER_H__
Functions for accessing hardware connected through pio´s and registers.
definitions for used events
void switchesIRQhandler(void *context)
IRQ-Handler for switches.
Defines for Error and Debug-Output Management.