在调试过程中,go main之后点击运行,程序会停在箭头指示处
void InitPll(Uint16 val, Uint16 divsel)
{
// Make sure the PLL is not running in limp mode
if (SysCtrlRegs.PLLSTS.bit.MCLKSTS != 0)
{
// Missing external clock has been detected
// Replace this line with a call to an appropriate
// SystemShutdown(); function.
----> asm(" ESTOP0");
}
当再次点击运行后程序能正常运行,求大侠解答,谢谢