001/*----------------------------------------------------------------------------*/
002/* Copyright (c) FIRST 2016-2017. All Rights Reserved.                        */
003/* Open Source Software - may be modified and shared by FRC teams. The code   */
004/* must be accompanied by the FIRST BSD license file in the root directory of */
005/* the project.                                                               */
006/*----------------------------------------------------------------------------*/
007
008package edu.wpi.first.wpilibj.hal;
009
010public class PortsJNI extends JNIWrapper {
011  public static native int getNumAccumulators();
012
013  public static native int getNumAnalogTriggers();
014
015  public static native int getNumAnalogInputs();
016
017  public static native int getNumAnalogOutputs();
018
019  public static native int getNumCounters();
020
021  public static native int getNumDigitalHeaders();
022
023  public static native int getNumPWMHeaders();
024
025  public static native int getNumDigitalChannels();
026
027  public static native int getNumPWMChannels();
028
029  public static native int getNumDigitalPWMOutputs();
030
031  public static native int getNumEncoders();
032
033  public static native int getNumInterrupts();
034
035  public static native int getNumRelayChannels();
036
037  public static native int getNumRelayHeaders();
038
039  public static native int getNumPCMModules();
040
041  public static native int getNumSolenoidChannels();
042
043  public static native int getNumPDPModules();
044
045  public static native int getNumPDPChannels();
046}