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.
请问CC2540在上电后有办法用代码重新启动吗?
你是指Reset?
有办法!
可以使用 HAL_SYSTEM_RESET()
可以软复位的形式重启,协议栈提供这样的函数。函数名称为SystemResetSoft() ;由于宏定义#define SystemResetSoft() Onboard_soft_reset(),所以你也可以使用Onboard_soft_reset()来实现重启