Function esp_idf_svc::hal::sys::xTimerGetReloadMode

source ยท
pub unsafe extern "C" fn xTimerGetReloadMode(
    xTimer: *mut tmrTimerControl,
) -> i32
Expand description

Queries a timer to determine if it is 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.

@param xTimer The handle of the timer being queried.

@return If the timer is an auto-reload timer then pdTRUE is returned, otherwise pdFALSE is returned.