ads1115 only

Fork of mbed by mbed official

Revision:
131:faff56e089b2
Parent:
110:165afa46840b
diff -r d75b3fe1f5cb -r faff56e089b2 TARGET_KL05Z/core_sc000.h
--- a/TARGET_KL05Z/core_sc000.h	Thu Nov 24 11:01:25 2016 +0000
+++ b/TARGET_KL05Z/core_sc000.h	Thu Dec 15 11:17:48 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();
 }