[−][src]Function wpilib_sys::bindings::HAL_GetAccumulatorOutput
pub unsafe extern "C" fn HAL_GetAccumulatorOutput(
analogPortHandle: HAL_AnalogInputHandle,
value: *mut i64,
count: *mut i64,
status: *mut i32
)
Read the accumulated value and the number of accumulated values atomically.
This function reads the value and count from the FPGA atomically. This can be used for averaging.
@param analogPortHandle Handle to the analog port. @param value Pointer to the 64-bit accumulated output. @param count Pointer to the number of accumulation cycles.