001package edu.wpi.first.wpilibj.hal; 002 003import java.nio.ByteBuffer; 004import java.nio.IntBuffer; 005 006public class PDPJNI extends JNIWrapper { 007 public static native double getPDPTemperature(IntBuffer status); 008 public static native double getPDPVoltage(IntBuffer status); 009 public static native double getPDPChannelCurrent(byte channel, IntBuffer status); 010 public static native double getPDPTotalCurrent(IntBuffer status); 011 public static native double getPDPTotalPower(IntBuffer status); 012 public static native double getPDPTotalEnergy(IntBuffer status); 013 public static native void resetPDPTotalEnergy(IntBuffer status); 014 public static native void clearPDPStickyFaults(IntBuffer status); 015}