Class PortsJNI


public class PortsJNI
extends JNIWrapper
Ports HAL JNI functions.
See Also:
"hal/Ports.h"
  • Constructor Details

  • Method Details

    • getNumAccumulators

      public static int getNumAccumulators()
      Gets the number of analog accumulators in the current system.
      Returns:
      the number of analog accumulators
      See Also:
      "HAL_GetNumAccumulators"
    • getNumAnalogTriggers

      public static int getNumAnalogTriggers()
      Gets the number of analog triggers in the current system.
      Returns:
      the number of analog triggers
      See Also:
      "HAL_GetNumAnalogTriggers"
    • getNumAnalogInputs

      public static int getNumAnalogInputs()
      Gets the number of analog inputs in the current system.
      Returns:
      the number of analog inputs
      See Also:
      "HAL_GetNumAnalogInputs"
    • getNumAnalogOutputs

      public static int getNumAnalogOutputs()
      Gets the number of analog outputs in the current system.
      Returns:
      the number of analog outputs
      See Also:
      "HAL_GetNumAnalogOutputs"
    • getNumCounters

      public static int getNumCounters()
      Gets the number of counters in the current system.
      Returns:
      the number of counters
      See Also:
      "HAL_GetNumCounters"
    • getNumDigitalHeaders

      public static int getNumDigitalHeaders()
      Gets the number of digital headers in the current system.
      Returns:
      the number of digital headers
      See Also:
      "HAL_GetNumDigitalHeaders"
    • getNumPWMHeaders

      public static int getNumPWMHeaders()
      Gets the number of PWM headers in the current system.
      Returns:
      the number of PWM headers
      See Also:
      "HAL_GetNumPWMHeaders"
    • getNumDigitalChannels

      public static int getNumDigitalChannels()
      Gets the number of digital channels in the current system.
      Returns:
      the number of digital channels
      See Also:
      "HAL_GetNumDigitalChannels"
    • getNumPWMChannels

      public static int getNumPWMChannels()
      Gets the number of PWM channels in the current system.
      Returns:
      the number of PWM channels
      See Also:
      "HAL_GetNumPWMChannels"
    • getNumDigitalPWMOutputs

      public static int getNumDigitalPWMOutputs()
      Gets the number of digital IO PWM outputs in the current system.
      Returns:
      the number of digital IO PWM outputs
      See Also:
      "HAL_GetNumDigitalPWMOutputs"
    • getNumEncoders

      public static int getNumEncoders()
      Gets the number of quadrature encoders in the current system.
      Returns:
      the number of quadrature encoders
      See Also:
      "HAL_GetNumEncoders"
    • getNumInterrupts

      public static int getNumInterrupts()
      Gets the number of interrupts in the current system.
      Returns:
      the number of interrupts
      See Also:
      "HAL_GetNumInterrupts"
    • getNumRelayChannels

      public static int getNumRelayChannels()
      Gets the number of relay channels in the current system.
      Returns:
      the number of relay channels
      See Also:
      "HAL_GetNumRelayChannels"
    • getNumRelayHeaders

      public static int getNumRelayHeaders()
      Gets the number of relay headers in the current system.
      Returns:
      the number of relay headers
      See Also:
      "HAL_GetNumRelayHeaders"
    • getNumCTREPCMModules

      public static int getNumCTREPCMModules()
      Gets the number of PCM modules in the current system.
      Returns:
      the number of PCM modules
      See Also:
      "HAL_GetNumCTREPCMModules"
    • getNumCTRESolenoidChannels

      public static int getNumCTRESolenoidChannels()
      Gets the number of solenoid channels in the current system.
      Returns:
      the number of solenoid channels
      See Also:
      "HAL_GetNumCTRESolenoidChannels"
    • getNumCTREPDPModules

      public static int getNumCTREPDPModules()
      Gets the number of PDP modules in the current system.
      Returns:
      the number of PDP modules
      See Also:
      "HAL_GetNumCTREPDPModules"
    • getNumCTREPDPChannels

      public static int getNumCTREPDPChannels()
      Gets the number of PDP channels in the current system.
      Returns:
      the number of PDP channels
      See Also:
      "HAL_GetNumCTREPDPChannels"
    • getNumREVPDHModules

      public static int getNumREVPDHModules()
      Gets the number of PDH modules in the current system.
      Returns:
      the number of PDH modules
      See Also:
      "HAL_GetNumREVPDHModules"
    • getNumREVPDHChannels

      public static int getNumREVPDHChannels()
      Gets the number of PDH channels in the current system.
      Returns:
      the number of PDH channels
      See Also:
      "HAL_GetNumREVPDHChannels"
    • getNumREVPHModules

      public static int getNumREVPHModules()
      Gets the number of PH modules in the current system.
      Returns:
      the number of PH modules
      See Also:
      "HAL_GetNumREVPHModules"
    • getNumREVPHChannels

      public static int getNumREVPHChannels()
      Gets the number of PH channels in the current system.
      Returns:
      the number of PH channels
      See Also:
      "HAL_GetNumREVPHChannels"