CTRE Phoenix Pro C++ 23.0.12
PhoenixPro_Jni.hpp File Reference
#include <jni.h>

Go to the source code of this file.

Functions

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestConfigApply (JNIEnv *, jclass, jstring, jint, jdouble, jstring, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlDutyCycleOut (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlTorqueCurrentFOC (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jdouble, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVoltageOut (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionDutyCycle (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionVoltage (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionTorqueCurrentFOC (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jint, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityDutyCycle (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityVoltage (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityTorqueCurrentFOC (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jint, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicDutyCycle (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicVoltage (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicTorqueCurrentFOC (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jint, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlFollower (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jint, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlStrictFollower (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlNeutralOut (JNIEnv *, jclass, jstring, jint, jdouble, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlCoastOut (JNIEnv *, jclass, jstring, jint, jdouble, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlStaticBrake (JNIEnv *, jclass, jstring, jint, jdouble, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBalanceBattery (JNIEnv *, jclass, jstring, jint, jdouble, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualIsolator (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jboolean)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualVboost (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jboolean, jdouble, jdouble)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualPwmJunction (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jint, jdouble)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSClearFault (JNIEnv *, jclass, jstring, jint, jdouble, jboolean)
 

Function Documentation

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestConfigApply()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestConfigApply ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jstring  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBalanceBattery()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBalanceBattery ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSClearFault()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSClearFault ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualIsolator()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualIsolator ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualPwmJunction()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualPwmJunction ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jint  ,
jdouble   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualVboost()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualVboost ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jboolean  ,
jdouble  ,
jdouble   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlCoastOut()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlCoastOut ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlDutyCycleOut()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlDutyCycleOut ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jboolean  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlFollower()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlFollower ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicDutyCycle()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicDutyCycle ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jboolean  ,
jdouble  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicTorqueCurrentFOC()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicTorqueCurrentFOC ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jdouble  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicVoltage()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicVoltage ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jboolean  ,
jdouble  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlNeutralOut()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlNeutralOut ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionDutyCycle()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionDutyCycle ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jboolean  ,
jdouble  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionTorqueCurrentFOC()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionTorqueCurrentFOC ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jdouble  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionVoltage()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionVoltage ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jboolean  ,
jdouble  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlStaticBrake()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlStaticBrake ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlStrictFollower()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlStrictFollower ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jint   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlTorqueCurrentFOC()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlTorqueCurrentFOC ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jdouble  ,
jdouble  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityDutyCycle()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityDutyCycle ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jboolean  ,
jdouble  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityTorqueCurrentFOC()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityTorqueCurrentFOC ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jdouble  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityVoltage()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityVoltage ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jboolean  ,
jdouble  ,
jint  ,
jboolean   
)

◆ Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVoltageOut()

JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVoltageOut ( JNIEnv *  ,
jclass  ,
jstring  ,
jint  ,
jdouble  ,
jboolean  ,
jdouble  ,
jboolean  ,
jboolean   
)