CTRE_Phoenix 5.20.2
com.ctre.phoenix.motorcontrol.LimitSwitchNormal Enum Reference

Public Member Functions

 LimitSwitchNormal (int value)
 
String toString ()
 

Static Public Member Functions

 [static initializer]
 
static LimitSwitchNormal valueOf (int value)
 
static LimitSwitchNormal valueOf (double value)
 

Public Attributes

 NormallyOpen =(0)
 
 NormallyClosed =(1)
 
 Disabled =(2)
 
int value
 

Detailed Description

Choose whether the limit switch is normally open or normally closed

Constructor & Destructor Documentation

◆ LimitSwitchNormal()

com.ctre.phoenix.motorcontrol.LimitSwitchNormal.LimitSwitchNormal ( int  value)
inline

Create LimitSwitchNormal of specified value

Parameters
valueValue of LimitSwitchNormal

Member Function Documentation

◆ [static initializer]()

com.ctre.phoenix.motorcontrol.LimitSwitchNormal.[static initializer]
inlinestatic

static c'tor, prepare the map

◆ toString()

String com.ctre.phoenix.motorcontrol.LimitSwitchNormal.toString ( )
inline
Returns
String representation of LimitSwitchNormal setting

◆ valueOf() [1/2]

static LimitSwitchNormal com.ctre.phoenix.motorcontrol.LimitSwitchNormal.valueOf ( double  value)
inlinestatic

Get LimitSwitchNormal of specified value

Parameters
valueValue of LimitSwitchNormal
Returns
LimitSwitchNormal of specified value

◆ valueOf() [2/2]

static LimitSwitchNormal com.ctre.phoenix.motorcontrol.LimitSwitchNormal.valueOf ( int  value)
inlinestatic

Get LimitSwitchNormal of specified value

Parameters
valueValue of LimitSwitchNormal
Returns
LimitSwitchNormal of specified value

Member Data Documentation

◆ Disabled

com.ctre.phoenix.motorcontrol.LimitSwitchNormal.Disabled =(2)

Limit switch is disabled

◆ NormallyClosed

com.ctre.phoenix.motorcontrol.LimitSwitchNormal.NormallyClosed =(1)

Limit Switch is tripped when the circuit is open

◆ NormallyOpen

com.ctre.phoenix.motorcontrol.LimitSwitchNormal.NormallyOpen =(0)

Limit Switch is tripped when the circuit is closed

◆ value

int com.ctre.phoenix.motorcontrol.LimitSwitchNormal.value

Value of LimitSwitch Setting


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