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.

AWRL1432BOOST: 深度睡眠模式退出重新初始化问题

Part Number: AWRL1432BOOST

在sdk中的mmwave_demo代码中,power_LPDSresumehook函数调用了Power_init(),这个是有必要的吗?我删除后,也能正常进入LPDS模式并唤醒。

我在:MMWAVE_L_SDK_05_05_02_00\examples\drivers\power\power_modes示例代码power_LPDSresumehook函数中发现它没有调用Power_init函数。退出LPDS模式,原本变量的值应该不会被清理吧?因此在Power_init函数中判断Power_module.initialized为true就不会走到下面的初始化赋值步骤了,因此这个函数在退出LPDS模式后是不需要重新调用的。我理解的正确吗?

int_fast16_t Power_init()
{
    uint32_t regVal;


    if (Power_module.initialized)
    {
        /* if this function has already been called, just return */
    }

}