// Certain modifications are Copyright 2016 Cel Skeggs
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
package edu.wpi.first.wpilibj.hal;
@SuppressWarnings("javadoc")
public class DIOJNI extends JNIWrapper {
public static native long initializeDigitalPort(long port_pointer);
public static native void freeDigitalPort(long port_pointer);
public static native boolean allocateDIO(long digital_port_pointer, boolean input);
public static native void freeDIO(long digital_port_pointer);
public static native void setDIO(long digital_port_pointer, short value);
public static native boolean getDIO(long digital_port_pointer);
public static native boolean getDIODirection(long digital_port_pointer);
public static native void pulse(long digital_port_pointer, double pulseLength);
public static native boolean isPulsing(long digital_port_pointer);
public static native boolean isAnyPulsing();
public static native short getLoopTiming();
}