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