giomba
92e1e261e7
Proper interrupt handlers for timers (and new peripherals can use them too). Improved interrupt enabling. Improved timer interrupts and fixed minor bugs.
13 lines
205 B
C++
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
|