forked

Revision:
152:9a67f0b066fc
Parent:
149:156823d33999
Child:
167:e84263d55307
diff -r 5eaa88a5bcc7 -r 9a67f0b066fc cmsis/core_sc000.h
--- a/cmsis/core_sc000.h	Thu Nov 24 17:03:03 2016 +0000
+++ b/cmsis/core_sc000.h	Thu Dec 15 11:48:27 2016 +0000
@@ -705,6 +705,8 @@
 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn)
 {
   NVIC->ICER[0] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
+  __DSB();
+  __ISB();
 }