Package edu.wpi.first.hal
Class PortsJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.PortsJNI
public class PortsJNI extends JNIWrapper
Ports HAL JNI functions.
- See Also:
- "hal/Ports.h"
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description PortsJNI()
-
Method Summary
Modifier and Type Method Description static int
getNumAccumulators()
Gets the number of analog accumulators in the current system.static int
getNumAnalogInputs()
Gets the number of analog inputs in the current system.static int
getNumAnalogOutputs()
Gets the number of analog outputs in the current system.static int
getNumAnalogTriggers()
Gets the number of analog triggers in the current system.static int
getNumCounters()
Gets the number of counters in the current system.static int
getNumCTREPCMModules()
Gets the number of PCM modules in the current system.static int
getNumCTREPDPChannels()
Gets the number of PDP channels in the current system.static int
getNumCTREPDPModules()
Gets the number of PDP modules in the current system.static int
getNumCTRESolenoidChannels()
Gets the number of solenoid channels in the current system.static int
getNumDigitalChannels()
Gets the number of digital channels in the current system.static int
getNumDigitalHeaders()
Gets the number of digital headers in the current system.static int
getNumDigitalPWMOutputs()
Gets the number of digital IO PWM outputs in the current system.static int
getNumEncoders()
Gets the number of quadrature encoders in the current system.static int
getNumInterrupts()
Gets the number of interrupts in the current system.static int
getNumPWMChannels()
Gets the number of PWM channels in the current system.static int
getNumPWMHeaders()
Gets the number of PWM headers in the current system.static int
getNumRelayChannels()
Gets the number of relay channels in the current system.static int
getNumRelayHeaders()
Gets the number of relay headers in the current system.static int
getNumREVPDHChannels()
Gets the number of PDH channels in the current system.static int
getNumREVPDHModules()
Gets the number of PDH modules in the current system.static int
getNumREVPHChannels()
Gets the number of PH channels in the current system.static int
getNumREVPHModules()
Gets the number of PH modules in the current system.
-
Constructor Details
-
Method Details
-
getNumAccumulators
Gets the number of analog accumulators in the current system.- Returns:
- the number of analog accumulators
- See Also:
- "HAL_GetNumAccumulators"
-
getNumAnalogTriggers
Gets the number of analog triggers in the current system.- Returns:
- the number of analog triggers
- See Also:
- "HAL_GetNumAnalogTriggers"
-
getNumAnalogInputs
Gets the number of analog inputs in the current system.- Returns:
- the number of analog inputs
- See Also:
- "HAL_GetNumAnalogInputs"
-
getNumAnalogOutputs
Gets the number of analog outputs in the current system.- Returns:
- the number of analog outputs
- See Also:
- "HAL_GetNumAnalogOutputs"
-
getNumCounters
Gets the number of counters in the current system.- Returns:
- the number of counters
- See Also:
- "HAL_GetNumCounters"
-
getNumDigitalHeaders
Gets the number of digital headers in the current system.- Returns:
- the number of digital headers
- See Also:
- "HAL_GetNumDigitalHeaders"
-
getNumPWMHeaders
Gets the number of PWM headers in the current system.- Returns:
- the number of PWM headers
- See Also:
- "HAL_GetNumPWMHeaders"
-
getNumDigitalChannels
Gets the number of digital channels in the current system.- Returns:
- the number of digital channels
- See Also:
- "HAL_GetNumDigitalChannels"
-
getNumPWMChannels
Gets the number of PWM channels in the current system.- Returns:
- the number of PWM channels
- See Also:
- "HAL_GetNumPWMChannels"
-
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
Gets the number of quadrature encoders in the current system.- Returns:
- the number of quadrature encoders
- See Also:
- "HAL_GetNumEncoders"
-
getNumInterrupts
Gets the number of interrupts in the current system.- Returns:
- the number of interrupts
- See Also:
- "HAL_GetNumInterrupts"
-
getNumRelayChannels
Gets the number of relay channels in the current system.- Returns:
- the number of relay channels
- See Also:
- "HAL_GetNumRelayChannels"
-
getNumRelayHeaders
Gets the number of relay headers in the current system.- Returns:
- the number of relay headers
- See Also:
- "HAL_GetNumRelayHeaders"
-
getNumCTREPCMModules
Gets the number of PCM modules in the current system.- Returns:
- the number of PCM modules
- See Also:
- "HAL_GetNumCTREPCMModules"
-
getNumCTRESolenoidChannels
Gets the number of solenoid channels in the current system.- Returns:
- the number of solenoid channels
- See Also:
- "HAL_GetNumCTRESolenoidChannels"
-
getNumCTREPDPModules
Gets the number of PDP modules in the current system.- Returns:
- the number of PDP modules
- See Also:
- "HAL_GetNumCTREPDPModules"
-
getNumCTREPDPChannels
Gets the number of PDP channels in the current system.- Returns:
- the number of PDP channels
- See Also:
- "HAL_GetNumCTREPDPChannels"
-
getNumREVPDHModules
Gets the number of PDH modules in the current system.- Returns:
- the number of PDH modules
- See Also:
- "HAL_GetNumREVPDHModules"
-
getNumREVPDHChannels
Gets the number of PDH channels in the current system.- Returns:
- the number of PDH channels
- See Also:
- "HAL_GetNumREVPDHChannels"
-
getNumREVPHModules
Gets the number of PH modules in the current system.- Returns:
- the number of PH modules
- See Also:
- "HAL_GetNumREVPHModules"
-
getNumREVPHChannels
Gets the number of PH channels in the current system.- Returns:
- the number of PH channels
- See Also:
- "HAL_GetNumREVPHChannels"
-