// 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 PowerJNI extends JNIWrapper { public static native float getVinVoltage(); public static native float getVinCurrent(); public static native float getUserVoltage6V(); public static native float getUserCurrent6V(); public static native boolean getUserActive6V(); public static native int getUserCurrentFaults6V(); public static native float getUserVoltage5V(); public static native float getUserCurrent5V(); public static native boolean getUserActive5V(); public static native int getUserCurrentFaults5V(); public static native float getUserVoltage3V3(); public static native float getUserCurrent3V3(); public static native boolean getUserActive3V3(); public static native int getUserCurrentFaults3V3(); }