CTRE Phoenix C++ 5.33.1
com_ctre_phoenix_CANifierJNI.h File Reference
#include <jni.h>

Go to the source code of this file.

Functions

JNIEXPORT jlong JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1new_1CANifier (JNIEnv *, jclass, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1destroy_1CANifier (JNIEnv *, jclass, jlong)
 
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetLEDOutput (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetGeneralOutputs (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetGeneralOutput (JNIEnv *, jclass, jlong, jint, jboolean, jboolean)
 
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetPWMOutput (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1EnablePWMOutput (JNIEnv *, jclass, jlong, jint, jboolean)
 
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetGeneralInputs (JNIEnv *, jclass, jlong, jbooleanArray)
 
JNIEXPORT jboolean JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetGeneralInput (JNIEnv *, jclass, jlong, jint)
 
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetPWMInput (JNIEnv *, jclass, jlong, jint, jdoubleArray)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetLastError (JNIEnv *, jclass, jlong)
 
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetBatteryVoltage (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetQuadraturePosition (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetQuadraturePosition (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetQuadratureVelocity (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigVelocityMeasurementPeriod (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigVelocityMeasurementWindow (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnLimitF (JNIEnv *, jclass, jlong, jboolean, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnLimitR (JNIEnv *, jclass, jlong, jboolean, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnQuadIdx (JNIEnv *, jclass, jlong, jboolean, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigSetCustomParam (JNIEnv *, jclass, jlong, jint, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigGetCustomParam (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigSetParameter (JNIEnv *, jclass, jlong, jint, jdouble, jint, jint, jint)
 
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigGetParameter (JNIEnv *, jclass, jlong, jint, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigFactoryDefault (JNIEnv *, jclass, jlong, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetStatusFramePeriod (JNIEnv *, jclass, jlong, jint, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetStatusFramePeriod (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetControlFramePeriod (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetFirmwareVersion (JNIEnv *, jclass, jlong)
 
JNIEXPORT jboolean JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1HasResetOccurred (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetFaults (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetStickyFaults (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ClearStickyFaults (JNIEnv *, jclass, jlong, jint)
 
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetBusVoltage (JNIEnv *, jclass, jlong)
 

Function Documentation

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ClearStickyFaults()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ClearStickyFaults ( JNIEnv *  ,
jclass  ,
jlong  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnLimitF()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnLimitF ( JNIEnv *  ,
jclass  ,
jlong  ,
jboolean  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnLimitR()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnLimitR ( JNIEnv *  ,
jclass  ,
jlong  ,
jboolean  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnQuadIdx()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnQuadIdx ( JNIEnv *  ,
jclass  ,
jlong  ,
jboolean  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigFactoryDefault()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigFactoryDefault ( JNIEnv *  ,
jclass  ,
jlong  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigGetCustomParam()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigGetCustomParam ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigGetParameter()

JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigGetParameter ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigSetCustomParam()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigSetCustomParam ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigSetParameter()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigSetParameter ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jdouble  ,
jint  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigVelocityMeasurementPeriod()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigVelocityMeasurementPeriod ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigVelocityMeasurementWindow()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigVelocityMeasurementWindow ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1destroy_1CANifier()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1destroy_1CANifier ( JNIEnv *  ,
jclass  ,
jlong   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1EnablePWMOutput()

JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1EnablePWMOutput ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetBatteryVoltage()

JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetBatteryVoltage ( JNIEnv *  ,
jclass  ,
jlong   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetBusVoltage()

JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetBusVoltage ( JNIEnv *  ,
jclass  ,
jlong   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetFaults()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetFaults ( JNIEnv *  ,
jclass  ,
jlong   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetFirmwareVersion()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetFirmwareVersion ( JNIEnv *  ,
jclass  ,
jlong   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetGeneralInput()

JNIEXPORT jboolean JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetGeneralInput ( JNIEnv *  ,
jclass  ,
jlong  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetGeneralInputs()

JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetGeneralInputs ( JNIEnv *  ,
jclass  ,
jlong  ,
jbooleanArray   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetLastError()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetLastError ( JNIEnv *  ,
jclass  ,
jlong   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetPWMInput()

JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetPWMInput ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jdoubleArray   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetQuadraturePosition()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetQuadraturePosition ( JNIEnv *  ,
jclass  ,
jlong   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetQuadratureVelocity()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetQuadratureVelocity ( JNIEnv *  ,
jclass  ,
jlong   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetStatusFramePeriod()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetStatusFramePeriod ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1GetStickyFaults()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetStickyFaults ( JNIEnv *  ,
jclass  ,
jlong   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1HasResetOccurred()

JNIEXPORT jboolean JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1HasResetOccurred ( JNIEnv *  ,
jclass  ,
jlong   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1new_1CANifier()

JNIEXPORT jlong JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1new_1CANifier ( JNIEnv *  ,
jclass  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1SetControlFramePeriod()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetControlFramePeriod ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1SetGeneralOutput()

JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetGeneralOutput ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jboolean  ,
jboolean   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1SetGeneralOutputs()

JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetGeneralOutputs ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1SetLEDOutput()

JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetLEDOutput ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1SetPWMOutput()

JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetPWMOutput ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1SetQuadraturePosition()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetQuadraturePosition ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint   
)

◆ Java_com_ctre_phoenix_CANifierJNI_JNI_1SetStatusFramePeriod()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetStatusFramePeriod ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jint  ,
jint   
)