added cleaner support for interruptions + a demo for stm32f4