001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package edu.wpi.first.hal; 006 007public class DigitalGlitchFilterJNI extends JNIWrapper { 008 public static native void setFilterSelect(int digitalPortHandle, int filterIndex); 009 010 public static native int getFilterSelect(int digitalPortHandle); 011 012 public static native void setFilterPeriod(int filterIndex, int fpgaCycles); 013 014 public static native int getFilterPeriod(int filterIndex); 015}