CTRE_Phoenix  5.19.4
com.ctre.phoenix.CANifier.GeneralPin Enum Reference

Public Member Functions

 GeneralPin (int initValue)
 

Static Public Member Functions

static GeneralPin valueOf (int value)
 

Public Attributes

 QUAD_IDX =(CANifierJNI.GeneralPin.QUAD_IDX.value)
 
 QUAD_B =(CANifierJNI.GeneralPin.QUAD_B.value)
 
 QUAD_A =(CANifierJNI.GeneralPin.QUAD_A.value)
 
 LIMR =(CANifierJNI.GeneralPin.LIMR.value)
 
 LIMF =(CANifierJNI.GeneralPin.LIMF.value)
 
 SDA =(CANifierJNI.GeneralPin.SDA.value)
 
 SCL =(CANifierJNI.GeneralPin.SCL.value)
 
 SPI_CS =(CANifierJNI.GeneralPin.SPI_CS.value)
 
 SPI_MISO_PWM2P =(CANifierJNI.GeneralPin.SPI_MISO_PWM2P.value)
 
 SPI_MOSI_PWM1P =(CANifierJNI.GeneralPin.SPI_MOSI_PWM1P.value)
 
 SPI_CLK_PWM0P =(CANifierJNI.GeneralPin.SPI_CLK_PWM0P.value)
 
final int value
 

Detailed Description

General IO Pins on the CANifier

Constructor & Destructor Documentation

◆ GeneralPin()

com.ctre.phoenix.CANifier.GeneralPin.GeneralPin ( int  initValue)
inline

Create GeneralPin of initValue value

Parameters
initValueValue of Pin

Member Function Documentation

◆ valueOf()

static GeneralPin com.ctre.phoenix.CANifier.GeneralPin.valueOf ( int  value)
inlinestatic

Gets the GeneralPin of a specified value

Parameters
valueinteger value of GeneralPin
Returns
GeneralPin of specified value

Member Data Documentation

◆ LIMF

com.ctre.phoenix.CANifier.GeneralPin.LIMF =(CANifierJNI.GeneralPin.LIMF.value)

Forward limit pin

◆ LIMR

com.ctre.phoenix.CANifier.GeneralPin.LIMR =(CANifierJNI.GeneralPin.LIMR.value)

Reverse limit pin

◆ QUAD_A

com.ctre.phoenix.CANifier.GeneralPin.QUAD_A =(CANifierJNI.GeneralPin.QUAD_A.value)

Quadrature A pin

◆ QUAD_B

com.ctre.phoenix.CANifier.GeneralPin.QUAD_B =(CANifierJNI.GeneralPin.QUAD_B.value)

Quadrature B pin

◆ QUAD_IDX

com.ctre.phoenix.CANifier.GeneralPin.QUAD_IDX =(CANifierJNI.GeneralPin.QUAD_IDX.value)

Quadrature Idx pin

◆ SCL

com.ctre.phoenix.CANifier.GeneralPin.SCL =(CANifierJNI.GeneralPin.SCL.value)

SCL pin

◆ SDA

com.ctre.phoenix.CANifier.GeneralPin.SDA =(CANifierJNI.GeneralPin.SDA.value)

SDA pin

◆ SPI_CLK_PWM0P

com.ctre.phoenix.CANifier.GeneralPin.SPI_CLK_PWM0P =(CANifierJNI.GeneralPin.SPI_CLK_PWM0P.value)

SPI_CLK_PWM0 pin

◆ SPI_CS

com.ctre.phoenix.CANifier.GeneralPin.SPI_CS =(CANifierJNI.GeneralPin.SPI_CS.value)

SPI_CS pin

◆ SPI_MISO_PWM2P

com.ctre.phoenix.CANifier.GeneralPin.SPI_MISO_PWM2P =(CANifierJNI.GeneralPin.SPI_MISO_PWM2P.value)

SPI_MISO_PWM2 pin

◆ SPI_MOSI_PWM1P

com.ctre.phoenix.CANifier.GeneralPin.SPI_MOSI_PWM1P =(CANifierJNI.GeneralPin.SPI_MOSI_PWM1P.value)

SPI_MOSI_PWM1 pin

◆ value

final int com.ctre.phoenix.CANifier.GeneralPin.value

Value of specified pin


The documentation for this enum was generated from the following file: