Rewrites EXTI management code and add support for user button IRQ
Rewrites EXTI management code and add support for user button IRQ