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.

RTOS/CC2640R2F: Request an API to Set FreeRunValue for GPTimer counter mode.

Part Number: CC2640R2F
Other Parts Discussed in Thread: LMT01

Tool/software: TI-RTOS

In related discussion there is no API to set FreeRunValue of counter in GPTimer counter mode and that should be a basic function of counter.

ex.

We're integrating with Ti LMT01 sensor which sending out its reading in number of pulse.

We can use GPtimer counter mode for pulse count however we need to reset counter value in each reading iteration however there is no such API in GPTimer driver.

I think this should be basic function and easy to implement like:

  HWREG(GPT1_BASE + GPT_O_TAV) = 0;

stuff.

Hope Ti team thinks about that and add an API for that.

ex.     GPTimerCC26XX_setFreeRunValue(handler, value);

BR,