ads1115 only
Fork of mbed by
Diff: TARGET_NUCLEO_F031K6/core_cm4.h
- Revision:
- 131:faff56e089b2
- Parent:
- 128:9bcdf88f62b0
diff -r d75b3fe1f5cb -r faff56e089b2 TARGET_NUCLEO_F031K6/core_cm4.h --- a/TARGET_NUCLEO_F031K6/core_cm4.h Thu Nov 24 11:01:25 2016 +0000 +++ b/TARGET_NUCLEO_F031K6/core_cm4.h Thu Dec 15 11:17:48 2016 +0000 @@ -1597,6 +1597,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(); }