HAL_SetCounterMaxPeriod

Function HAL_SetCounterMaxPeriod 

Source
pub unsafe extern "C" fn HAL_SetCounterMaxPeriod(
    counterHandle: HAL_CounterHandle,
    maxPeriod: f64,
    status: *mut i32,
)
Expand description

Sets the maximum period where the device is still considered “moving”.

Sets the maximum period where the device is considered moving. This value is used to determine the “stopped” state of the counter using the HAL_GetCounterStopped method.

@param counterHandle the counter handle @param maxPeriod the maximum period where the counted device is considered moving in seconds