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.

技术问题

我的程序一直处在while中,

SLEEPCMD &= ~OSC_PD;                     /* turn on 16MHz RC and 32MHz XOSC */ \
while (!(SLEEPSTA & XOSC_STB));               /* wait for 32MHz XOSC stable */ \

SLEEPCMD  是睡眠srf啊,怎么注释是turn on 16MHz RC and 32MHz XOSC ,好像不对啊,我的程序一直在while (!(SLEEPSTA & XOSC_STB));       跳不出来,SLEEPSTA  值是0x26.  不知道怎么回事