[mareframe] Annotation of /trunk/gadget/interrupthandler.h
Annotation of /trunk/gadget/interrupthandler.h
Parent Directory
| Revision Log
Revision 1 -
(view)
(download)
1 : |
agomez |
1 |
#ifndef interrupthandler_h
|
2 : |
|
|
#define interrupthandler_h
|
3 : |
|
|
|
4 : |
|
|
/**
|
5 : |
|
|
* \brief This is the function that registers the interrupt handler
|
6 : |
|
|
* \param interrupted is a pointer to a flag that will be set to 1 when an interrupt occurs
|
7 : |
|
|
*/
|
8 : |
|
|
void registerInterrupts(volatile int* interrupted);
|
9 : |
|
|
/**
|
10 : |
|
|
* \brief This is the function that gets called when an interrupt occurs
|
11 : |
|
|
* \param signal is the signal to handle
|
12 : |
|
|
*/
|
13 : |
|
|
void interruptHandler(int signal);
|
14 : |
|
|
|
15 : |
|
|
#endif
|
|