[][src]Function wpilib_sys::bindings::HAL_GetCounter

pub unsafe extern "C" fn HAL_GetCounter(
    counterHandle: HAL_CounterHandle,
    status: *mut i32
) -> i32

Reads the current counter value.

Reads the value at this instant. It may still be running, so it reflects the current value. Next time it is read, it might have a different value.

@param counterHandle the counter handle @return the current counter value