This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Two methods to clear sleep timer CPU INT flag in CC2430?

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