# xTimerStart vs. xTimerReset documentation

**URL:** <https://forums.freertos.org/t/xtimerstart-vs-xtimerreset-documentation/7013>\
**Category:** Kernel\
**Created:** [February 20, 2018, 10:42pm UTC](https://forums.freertos.org/t/xtimerstart-vs-xtimerreset-documentation/7013 "2018-02-20T22:42:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 20, 2018, 10:42pm UTC](https://forums.freertos.org/t/xtimerstart-vs-xtimerreset-documentation/7013/1 "2018-02-20T22:42:26Z")

</div>

**[asund](https://sourceforge.net/u/asund/)** wrote on [Tuesday, February 20, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/4b3514c2/#a9ea):

In the documentation for the timer functions:

xTimerStart

> If the timer had already been started and was already in the active state, then xTimerStart() has equivalent functionality to the xTimerReset() API function.

xTimerReset

> If the timer had already been started and was already in the active state, then xTimerReset() will cause the timer to re-evaluate its expiry time so that it is relative to when xTimerReset() was called. If the timer was in the dormant state then xTimerReset() has equivalent functionality to the xTimerStart() API function.

As far as I can tell the only difference in these commands is the value passed to traceTIMER\_COMMAND\_RECEIVED, which could be useful for some users to make the distinction. I feel like changing the documentation to say this up front instead of conditionally referring to each other for behaviour would be clearer.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [February 21, 2018, 2:34am UTC](https://forums.freertos.org/t/xtimerstart-vs-xtimerreset-documentation/7013/2 "2018-02-21T02:34:51Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, February 21, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/4b3514c2/#74ea):

Duplicate of [https://sourceforge.net/p/freertos/discussion/382005/thread/6f987ded/](https://sourceforge.net/p/freertos/discussion/382005/thread/6f987ded/)
