STM32F411: introduce sei() and cli() also for STM32F411

This commit is contained in:
Nico Tonnhofer 2015-11-19 19:48:04 +01:00
parent 2da993220e
commit c83ada5e07
1 changed files with 9 additions and 1 deletions

10
cpu.h
View File

@ -6,10 +6,18 @@
#include <avr/interrupt.h>
#elif defined __ARMEL__
#elif defined __ARM_LPC1114__
#include "cmsis-lpc11xx.h" // For __ASM().
#elif defined __ARM_STM32F411__
#include "cmsis-stm32f4xx.h" // For __ASM().
#endif
#if defined __ARMEL__
/** Enable interrupts.
This enables interrupts by clearing the I-bit in the CPSR.