ads1115 only
Fork of mbed by
Diff: TARGET_KL05Z/core_cm3.h
- Revision:
- 131:faff56e089b2
- Parent:
- 128:9bcdf88f62b0
diff -r d75b3fe1f5cb -r faff56e089b2 TARGET_KL05Z/core_cm3.h --- a/TARGET_KL05Z/core_cm3.h Thu Nov 24 11:01:25 2016 +0000 +++ b/TARGET_KL05Z/core_cm3.h Thu Dec 15 11:17:48 2016 +0000 @@ -1431,6 +1431,8 @@ __STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn) { NVIC->ICER[(((uint32_t)(int32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL)); + __DSB(); + __ISB(); }