Found 16 other functions taking a
esp_timer
argument:
Stop a running timer This function stops the timer previously started using esp_timer_start_once() or esp_timer_start_periodic().
Create an esp_timer instance
Delete an esp_timer instance The timer must be stopped before deleting. A one-shot timer which has expired does not need to be stopped.
Start a one-shot timer Timer represented by `timer` should not be running when this function is called.
Start a periodic timer Timer represented by `timer` should not be running when this function is called. This function starts the timer which will trigger every `period` microseconds.
Returns status of a timer, active or not This function is used to identify if the timer is still active (running) or not.
Get the expiry time of a one-shot timer This function fetches the expiry time of a one-shot timer.
Restart a currently running timer Type of `timer` | Action --------------- | ------ One-shot timer | Restarted immediately and times out once in `timeout_us` microseconds Periodic timer | Restarted immediately with a new period of `timeout_us` microseconds
Get the period of a timer This function fetches the timeout period of a timer. For a one-shot timer, the timeout period will be 0.