2017-01-04 19:43:06 +01:00
|
|
|
#pragma once
|
|
|
|
|
2017-01-06 20:50:26 +01:00
|
|
|
#include <LPC17xx.h>
|
2017-01-05 04:00:27 +01:00
|
|
|
|
2017-01-03 04:16:43 +01:00
|
|
|
#define ISR(f) void f()
|
2017-01-05 04:00:27 +01:00
|
|
|
inline void cli() {__disable_irq();}
|
|
|
|
inline void sei() {__enable_irq();}
|