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.

ZStack2.5.1a协议栈的HAL_BOARD_INIT()中为什么用while (!(SLEEPSTA & XOSC_STB)); 来判断时钟是否已经稳定?

Other Parts Discussed in Thread: CC2430, CC2530

XOSC_STB定义如下:

/* SLEEPSTA bit definitions */
#define XOSC_STB BV(6) /* XOSC: powered, stable=1 */

而寄存器SLEEPSTA的描述是这样的:

也就是说第六位是保留的,为什么要用这一位来判定时钟是否稳定呢?