大家好~
目前,UART和SPI初始化是在主函数的第三行HalDriverInit();函数做的。现在希望POWER SAVING开启下,防止电流电压反灌,希望在不使用UART和SPI时将这两个端口相关引脚设置为输出低电平,请问协议栈支持这么做吗?如果可行的话,是否直接在不需要使用的时候配置寄存器,需要时初始化函数重新调用一下就可以了?还是说POWER SAVING已经关断了这些外设,不用担心反灌?
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.