CTRE_Phoenix 5.20.2
com.ctre.phoenix.CANifier.PWMChannel Enum Reference

Public Member Functions

 PWMChannel (int initValue)
 

Static Public Member Functions

static PWMChannel valueOf (int value)
 

Public Attributes

 PWMChannel0 =(0)
 
 PWMChannel1 =(1)
 
 PWMChannel2 =(2)
 
 PWMChannel3 =(3)
 
final int value
 

Detailed Description

Enum for the PWM Input Channels

Constructor & Destructor Documentation

◆ PWMChannel()

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

Create a PWM Channel of initValue

Parameters
initValuePWM Channel value

Member Function Documentation

◆ valueOf()

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

Get the PWM Channel from a specified value

Parameters
valueinteger value to get pwm channel from
Returns
PWM Channel of specified value

Member Data Documentation

◆ PWMChannel0

com.ctre.phoenix.CANifier.PWMChannel.PWMChannel0 =(0)

PWM Channel 0

◆ PWMChannel1

com.ctre.phoenix.CANifier.PWMChannel.PWMChannel1 =(1)

PWM Channel 1

◆ PWMChannel2

com.ctre.phoenix.CANifier.PWMChannel.PWMChannel2 =(2)

PWM Channel 2

◆ PWMChannel3

com.ctre.phoenix.CANifier.PWMChannel.PWMChannel3 =(3)

PWM Channel 3

◆ value

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

Value of PWM Channel


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