There are two ways to clear sleep timer CPU interrupt flag:
1. #define HAL_SLEEP_TIMER_CLEAR_INT() st(IRCON &= ~0x80;)
2. #define HAL_SLEEP_TIMER_CLEAR_INT() st(STIF = 0;)
The method 1 is used in current code, according to DN116, method 2 is recommended. I want to make sure two methods are same?
Thanks
Rui