Delete some unused code
Enable auto wakeup function
Enable auto wake up interrupt through exti 22
It has one issue. After alarm A interrupt, It also will not enter
auto wake up interrupt.
Change wakeup counter number. Disable wakeup before setting.