ads1115 only

Fork of mbed by mbed official

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