CC2540/CC2541用BLE库,能实现timer1捕获吗?
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.
hy xu,
timer1没有在SDK里面加入。但是你自己要加很简单。
你可以先看一下 http://www.ti.com/product/CC2541/toolssoftware 页面上,下载 CC2541/43/44/45 Peripherals Software Examples
这个里面就有timer 1的 例程。capture, free run, mod等都有。
另外对照着TRM你应该就更容易理解这个代码了。