Simple mbed library with macros
Dependents: SimpleTimer SimpleUART SimpleTimer Stoppuhr1
Diff: interrupts.h
- Revision:
- 17:36a0cb1929c2
- Parent:
- 15:66150de7876b
- Child:
- 18:aa026d9f7fc0
diff -r 73f0f5d18800 -r 36a0cb1929c2 interrupts.h --- a/interrupts.h Sun Nov 14 22:48:59 2010 +0000 +++ b/interrupts.h Wed Nov 17 10:59:34 2010 +0000 @@ -1,5 +1,5 @@ /* -* Copyright or © or Copr. 2010, Thomas SOETE +* Copyright or © or Copr. 2010, Thomas SOETE * * Author e-mail: thomas@soete.org * Library website : http://mbed.org/users/Alkorin/libraries/SimpleLib/ @@ -34,6 +34,8 @@ #ifndef __INTERRUPTS_H__ #define __INTERRUPTS_H__ +#include "mbed_globals.h" + /** Interrupt Managment **/ #define ENABLE_INTERRUPT(intr) NVIC_EnableIRQ(intr) #define DISABLE_INTERRUPT(intr) NVIC_DisableIRQ(intr)