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.

CC1310: 请教关于Sensor Controller pulse count功能

Part Number: CC1310
请教关于Sensor Controller pulse count功能,帮助文档中并没有写清楚,如下
gpioGenPulseTrain cfg.pulseCount这个参数是用来存放读取的脉冲个数么?那么pcntGetValue(output.measuredPulseCount);这句的作用是什么?AUXIO_O_PULSE_OUTPUT这个参数有事什么意思?输入的脉冲数并没有牵扯到任何输出引脚啊?
pcntEnable(PCNT_INPUT_AUXIO_BASE + AUXIO_I_PULSE_CNT_INPUT);
gpioGenPulseTrain(AUXIO_O_PULSE_OUTPUT, 0, 24, 24, cfg.pulseCount);
gpioDisableInputBuf(AUXIO_I_PULSE_CNT_INPUT);
pcntGetValue(output.measuredPulseCount);
gpioEnableInputBuf(AUXIO_I_PULSE_CNT_INPUT);
pcntDisable();