stkarm/include/interrupt.h
giomba 92e1e261e7 Proper interrupt handlers
Proper interrupt handlers for timers (and new peripherals can use them
too).
Improved interrupt enabling.
Improved timer interrupts and fixed minor bugs.
2019-01-07 15:57:16 +01:00

13 lines
205 B
C++

#ifndef INTERRUPT_H
#define INTERRUPT_H
#include <stdint.h>
extern "C" void fireswi(void);
namespace interrupt {
extern void (*handler[])(const uint8_t cpuID, const uint16_t interruptID);
}
#endif