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.

28335的 InitPll函数DIVSEL寄存器设置问题



 void InitPll(Uint16 val, Uint16 divsel)

.............

if(divsel == 3)
{
EALLOW;
    SysCtrlRegs.PLLSTS.bit.DIVSEL = 2;
    DELAY_US(50L);
    SysCtrlRegs.PLLSTS.bit.DIVSEL = 3;
    EDIS;
    }

.............

}----
请问:在28335的PLL初始化函数中,这步设置DIVSEL = 3时,为什么要先设置为2,再延时50L,然后再设置为3. 
直接令DIVSEL = 3不行吗?两者区别在哪?