Revision 1 -
(download)
(annotate)
Mon Feb 10 17:09:07 2014 UTC
(10 years, 5 months ago)
by agomez File size: 440 byte(s)
Initial version based on Gadget 2.2.00
#ifndef interrupthandler_h
#define interrupthandler_h
/**
* \brief This is the function that registers the interrupt handler
* \param interrupted is a pointer to a flag that will be set to 1 when an interrupt occurs
*/
void registerInterrupts(volatile int* interrupted);
/**
* \brief This is the function that gets called when an interrupt occurs
* \param signal is the signal to handle
*/
void interruptHandler(int signal);
#endif