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

Go to the source code of this file.

Functions

JNIEXPORT jlong JNICALL Java_com_ctre_phoenix_led_CANdleJNI_Create (JNIEnv *, jclass, jint, jstring)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetLastError (JNIEnv *, jclass, jlong)
 
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetLastTimestamp (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_BlockSet (JNIEnv *, jclass, jlong, jint, jint, jint, jint, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_SetStandardAnimation (JNIEnv *, jclass, jlong, jint, jdouble, jdouble, jint, jint, jdouble, jdouble, jboolean, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_SetTwoSizeAnimation (JNIEnv *, jclass, jlong, jint, jint, jint, jint, jint, jdouble, jint, jint, jint, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_ClearAnimation (JNIEnv *, jclass, jlong, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_ModulateVBatOutput (JNIEnv *, jclass, jlong, jdouble)
 
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetBusVoltage (JNIEnv *, jclass, jlong)
 
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_led_CANdleJNI_Get5VRailVoltage (JNIEnv *, jclass, jlong)
 
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetCurrent (JNIEnv *, jclass, jlong)
 
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetTemperature (JNIEnv *, jclass, jlong)
 
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetVbatModulation (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetMaxSimultaneousAnimationCount (JNIEnv *, jclass, jlong)
 
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_led_CANdleJNI_ConfigGetParameter (JNIEnv *, jclass, jlong, jint, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_ConfigSetParameter (JNIEnv *, jclass, jlong, jint, jdouble, jint, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_ConfigGetCustomParam (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_ConfigSetCustomParam (JNIEnv *, jclass, jlong, jint, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_ConfigFactoryDefault (JNIEnv *, jclass, jlong, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetFaults (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetStickyFaults (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_ClearStickyFaults (JNIEnv *, jclass, jlong, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetFirmwareVersion (JNIEnv *, jclass, jlong)
 
JNIEXPORT jboolean JNICALL Java_com_ctre_phoenix_led_CANdleJNI_HasResetOccurred (JNIEnv *, jclass, jlong)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_SetStatusFramePeriod (JNIEnv *, jclass, jlong, jint, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_GetStatusFramePeriod (JNIEnv *, jclass, jlong, jint, jint)
 
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_SetControlFramePeriod (JNIEnv *, jclass, jlong, jint, jint)
 

Function Documentation

◆ Java_com_ctre_phoenix_led_CANdleJNI_BlockSet()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_ClearAnimation()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_ClearStickyFaults()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_ConfigFactoryDefault()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_ConfigGetCustomParam()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_ConfigGetParameter()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_ConfigSetCustomParam()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_ConfigSetParameter()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_Create()

JNIEXPORT jlong JNICALL Java_com_ctre_phoenix_led_CANdleJNI_Create ( JNIEnv *  ,
jclass  ,
jint  ,
jstring   
)

◆ Java_com_ctre_phoenix_led_CANdleJNI_Get5VRailVoltage()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetBusVoltage()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetCurrent()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetFaults()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetFirmwareVersion()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetLastError()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetLastTimestamp()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetMaxSimultaneousAnimationCount()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetStatusFramePeriod()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetStickyFaults()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetTemperature()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_GetVbatModulation()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_HasResetOccurred()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_ModulateVBatOutput()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_SetControlFramePeriod()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_SetStandardAnimation()

JNIEXPORT jint JNICALL Java_com_ctre_phoenix_led_CANdleJNI_SetStandardAnimation ( JNIEnv *  ,
jclass  ,
jlong  ,
jint  ,
jdouble  ,
jdouble  ,
jint  ,
jint  ,
jdouble  ,
jdouble  ,
jboolean  ,
jint   
)

◆ Java_com_ctre_phoenix_led_CANdleJNI_SetStatusFramePeriod()

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

◆ Java_com_ctre_phoenix_led_CANdleJNI_SetTwoSizeAnimation()

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