vTimerSetReloadMode() is only used within FreeRTOS.
 
Symbols
loading...
Files
loading...

vTimerSetReloadMode() function

void vTimerSetReloadMode( TimerHandle_t xTimer, const UBaseType_t uxAutoReload ); Updates a timer to be either an auto-reload timer, in which case the timer automatically resets itself each time it expires, or a one-shot timer, in which case the timer will only expire once unless it is manually restarted.

Syntax

void vTimerSetReloadMode( TimerHandle_t xTimer,     const UBaseType_t uxAutoReload ) PRIVILEGED_FUNCTION;
Implemented in timers.c:442

Arguments

xTimer

The handle of the timer being updated.

uxAutoReload

If uxAutoReload is set to pdTRUE then the timer will expire repeatedly with a frequency set by the timer's period (see the xTimerPeriodInTicks parameter of the xTimerCreate() API function). If uxAutoReload is set to pdFALSE then the timer will be a one-shot timer and enter the dormant state after it expires.

References

LocationReferrerText
timers.c:442
void vTimerSetReloadMode( TimerHandle_t xTimer, const UBaseType_t uxAutoReload )
timers.h:1249
mpu_wrappers.c:1051MPU_vTimerSetReloadMode()
vTimerSetReloadMode( xTimer, uxAutoReload );

Call Tree

Functions calling vTimerSetReloadMode()
Functions called by vTimerSetReloadMode()
all items filtered out
vTimerSetReloadMode()
Data read by vTimerSetReloadMode()
Data written by vTimerSetReloadMode()
vTimerSetReloadMode()
all items filtered out
Type of vTimerSetReloadMode()
vTimerSetReloadMode()
all items filtered out