周期唤醒后:
MicroWait(100);
调用红外发射函数(设置T1CTL,T3CTL, Set up DMA channel 等等)
osal_pwrmgr_device(PWRMGR_BATTERY);
osal_pwrmgr_task_state(SampleApp_TaskID,PWRMGR_CONSERVE);
这样写有问题吗? 如果不加 红外发射函数, 程序是正常的。
我在想,红外发射也需要一些时间, 而此时可能已经进入低功耗了。导致 还未发射完,程序已低功耗,从而出现问题。
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.
周期唤醒后:
MicroWait(100);
调用红外发射函数(设置T1CTL,T3CTL, Set up DMA channel 等等)
osal_pwrmgr_device(PWRMGR_BATTERY);
osal_pwrmgr_task_state(SampleApp_TaskID,PWRMGR_CONSERVE);
这样写有问题吗? 如果不加 红外发射函数, 程序是正常的。
我在想,红外发射也需要一些时间, 而此时可能已经进入低功耗了。导致 还未发射完,程序已低功耗,从而出现问题。