ads1115 only

Fork of mbed by mbed official

Revision:
131:faff56e089b2
Parent:
128:9bcdf88f62b0
--- a/TARGET_KL05Z/core_cm0plus.h	Thu Nov 24 11:01:25 2016 +0000
+++ b/TARGET_KL05Z/core_cm0plus.h	Thu Dec 15 11:17:48 2016 +0000
@@ -703,6 +703,8 @@
 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn)
 {
   NVIC->ICER[0] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
+  __DSB();
+  __ISB();
 }