Other Parts Discussed in Thread: EK-TM4C1294XL
Hi, Mr Expert
I need to clear the value in the GPTMTAR register when the timer works in Input Edge-Time mode, the timer works in up-count direction from 0 when the TAEN bit is set for the first time, once the edge is detected, the counter value is captured in GPTMTAR register. But I found after the first edge is captured, I can not clear the value either in GPTMTAR or GPTMTAV register. when I disable TAEN and then enable it, the value in GPTMTAR does not reset to 0.
Is the timer designed to work this way or there is a solution to reset the TAR or TAV register somehow?