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,