Class PortsJNI
java.lang.Object
org.wpilib.hardware.hal.JNIWrapper
org.wpilib.hardware.hal.PortsJNI
-
Nested Class Summary
Nested classes/interfaces inherited from class JNIWrapper
JNIWrapper.Helper -
Method Summary
Modifier and TypeMethodDescriptionstatic intGets the number of can buses in the current system.static intGets the number of PCM modules in the current system.static intGets the number of PDP channels in the current system.static intGets the number of PDP modules in the current system.static intGets the number of solenoid channels in the current system.static intGets the number of PDH channels in the current system.static intGets the number of PDH modules in the current system.static intGets the number of PH channels in the current system.static intGets the number of PH modules in the current system.static intGets the number of SmartIo ports in the current system.Methods inherited from class JNIWrapper
forceLoad, suppressUnused
-
Method Details
-
getNumCanBuses
Gets the number of can buses in the current system.- Returns:
- the number of can buses
- See Also:
-
getNumSmartIo
Gets the number of SmartIo ports in the current system.- Returns:
- the number of SmartIo
- See Also:
-
getNumCTREPCMModules
Gets the number of PCM modules in the current system.- Returns:
- the number of PCM modules
- See Also:
-
getNumCTRESolenoidChannels
Gets the number of solenoid channels in the current system.- Returns:
- the number of solenoid channels
- See Also:
-
getNumCTREPDPModules
Gets the number of PDP modules in the current system.- Returns:
- the number of PDP modules
- See Also:
-
getNumCTREPDPChannels
Gets the number of PDP channels in the current system.- Returns:
- the number of PDP channels
- See Also:
-
getNumREVPDHModules
Gets the number of PDH modules in the current system.- Returns:
- the number of PDH modules
- See Also:
-
getNumREVPDHChannels
Gets the number of PDH channels in the current system.- Returns:
- the number of PDH channels
- See Also:
-
getNumREVPHModules
Gets the number of PH modules in the current system.- Returns:
- the number of PH modules
- See Also:
-
getNumREVPHChannels
Gets the number of PH channels in the current system.- Returns:
- the number of PH channels
- See Also:
-