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 DutyCycleJNI extends JNIWrapper {
008  public static native int initialize(int digitalSourceHandle, int analogTriggerType);
009
010  public static native void free(int handle);
011
012  public static native int getFrequency(int handle);
013
014  public static native double getOutput(int handle);
015
016  public static native int getHighTime(int handle);
017
018  public static native int getOutputScaleFactor(int handle);
019
020  public static native int getFPGAIndex(int handle);
021}