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
007@SuppressWarnings("AbbreviationAsWordInName")
008public class PortsJNI extends JNIWrapper {
009  public static native int getNumAccumulators();
010
011  public static native int getNumAnalogTriggers();
012
013  public static native int getNumAnalogInputs();
014
015  public static native int getNumAnalogOutputs();
016
017  public static native int getNumCounters();
018
019  public static native int getNumDigitalHeaders();
020
021  public static native int getNumPWMHeaders();
022
023  public static native int getNumDigitalChannels();
024
025  public static native int getNumPWMChannels();
026
027  public static native int getNumDigitalPWMOutputs();
028
029  public static native int getNumEncoders();
030
031  public static native int getNumInterrupts();
032
033  public static native int getNumRelayChannels();
034
035  public static native int getNumRelayHeaders();
036
037  public static native int getNumCTREPCMModules();
038
039  public static native int getNumCTRESolenoidChannels();
040
041  public static native int getNumCTREPDPModules();
042
043  public static native int getNumCTREPDPChannels();
044
045  public static native int getNumREVPDHModules();
046
047  public static native int getNumREVPDHChannels();
048
049  public static native int getNumREVPHModules();
050
051  public static native int getNumREVPHChannels();
052}