CC2650 SCS里的adcStartAuxTimer0Trigger() API变量是毫秒还是微妙?
时间:10-02
整理:3721RD
点击:
文档里描述的是毫秒:
adcStartAuxTimer0Trigger
Prototype: adcStartAuxTimer0Trigger(#period)
Starts generation of periodical triggers to the ADC, using AUX Timer 0.
For synchronous mode, the trigger starts sampling followed by conversion.
For asynchronous mode, the trigger starts conversion.
Parameter value(s)
- #period - ADC sampling period in microseconds (5-21845)
但是SCS例程ADC Data Streamer里是微妙:
// Start ADC trigger timer at 20 kHz
adcStartAuxTimer0Trigger(50);
hi
单位应该是ms,我试过将变量设置为2000,测量波形是2ms的。文档应该写错了。