8 lines
133 B
C
Raw Normal View History

2017-01-04 13:43:06 -05:00
#pragma once
2017-01-06 14:50:26 -05:00
#include <LPC17xx.h>
2017-01-04 22:00:27 -05:00
#define ISR(f) void f()
2017-01-04 22:00:27 -05:00
inline void cli() {__disable_irq();}
inline void sei() {__enable_irq();}