[][src]Function wpilib_sys::bindings::HAL_GetFilterPeriod

pub unsafe extern "C" fn HAL_GetFilterPeriod(
    filterIndex: i32,
    status: *mut i32
) -> i64

Gets the filter period for the specified filter index.

Gets the filter period in FPGA cycles. Even though there are 2 different filter index domains (MXP vs HDR), ignore that distinction for now since it compilicates the interface. Set status to NiFpga_Status_SoftwareFault if the filter values miss-match.

@param filterIndex the filter index, 0 - 2 @param value the number of cycles that the signal must not transition to be counted as a transition.