CTRE Phoenix C++ 5.33.1
com_ctre_phoenix_CANifierJNI.h
Go to the documentation of this file.
1/* Copyright (C) Cross The Road Electronics 2024 */
2/* DO NOT EDIT THIS FILE - it is machine generated */
3#include <jni.h>
4/* Header for class com_ctre_phoenix_CANifierJNI */
5
6#ifndef _Included_com_ctre_phoenix_CANifierJNI
7#define _Included_com_ctre_phoenix_CANifierJNI
8#ifdef __cplusplus
9extern "C" {
10#endif
11/*
12 * Class: com_ctre_phoenix_CANifierJNI
13 * Method: JNI_new_CANifier
14 * Signature: (I)J
15 */
17 (JNIEnv *, jclass, jint);
18
19/*
20 * Class: com_ctre_phoenix_CANifierJNI
21 * Method: JNI_destroy_CANifier
22 * Signature: (J)I
23 */
25 (JNIEnv *, jclass, jlong);
26
27/*
28 * Class: com_ctre_phoenix_CANifierJNI
29 * Method: JNI_destroy_AllCANifiers
30 * Signature: ()V
31 */
32//JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1destroy_1AllCANifiers
33// (JNIEnv *, jclass);
34
35/*
36 * Class: com_ctre_phoenix_CANifierJNI
37 * Method: JNI_SetLEDOutput
38 * Signature: (JII)V
39 */
41 (JNIEnv *, jclass, jlong, jint, jint);
42
43/*
44 * Class: com_ctre_phoenix_CANifierJNI
45 * Method: JNI_SetGeneralOutputs
46 * Signature: (JII)V
47 */
49 (JNIEnv *, jclass, jlong, jint, jint);
50
51/*
52 * Class: com_ctre_phoenix_CANifierJNI
53 * Method: JNI_SetGeneralOutput
54 * Signature: (JIZZ)V
55 */
57 (JNIEnv *, jclass, jlong, jint, jboolean, jboolean);
58
59/*
60 * Class: com_ctre_phoenix_CANifierJNI
61 * Method: JNI_SetPWMOutput
62 * Signature: (JII)V
63 */
65 (JNIEnv *, jclass, jlong, jint, jint);
66
67/*
68 * Class: com_ctre_phoenix_CANifierJNI
69 * Method: JNI_EnablePWMOutput
70 * Signature: (JIZ)V
71 */
73 (JNIEnv *, jclass, jlong, jint, jboolean);
74
75/*
76 * Class: com_ctre_phoenix_CANifierJNI
77 * Method: JNI_GetGeneralInputs
78 * Signature: (J[Z)V
79 */
81 (JNIEnv *, jclass, jlong, jbooleanArray);
82
83/*
84 * Class: com_ctre_phoenix_CANifierJNI
85 * Method: JNI_GetGeneralInput
86 * Signature: (JI)Z
87 */
89 (JNIEnv *, jclass, jlong, jint);
90
91/*
92 * Class: com_ctre_phoenix_CANifierJNI
93 * Method: JNI_GetPWMInput
94 * Signature: (JI[D)V
95 */
97 (JNIEnv *, jclass, jlong, jint, jdoubleArray);
98
99/*
100 * Class: com_ctre_phoenix_CANifierJNI
101 * Method: JNI_GetLastError
102 * Signature: (J)I
103 */
105 (JNIEnv *, jclass, jlong);
106
107/*
108 * Class: com_ctre_phoenix_CANifierJNI
109 * Method: JNI_GetBatteryVoltage
110 * Signature: (J)D
111 */
113 (JNIEnv *, jclass, jlong);
114
115/*
116 * Class: com_ctre_phoenix_CANifierJNI
117 * Method: JNI_GetQuadraturePosition
118 * Signature: (J)I
119 */
121 (JNIEnv *, jclass, jlong);
122
123/*
124 * Class: com_ctre_phoenix_CANifierJNI
125 * Method: JNI_SetQuadraturePosition
126 * Signature: (JII)I
127 */
129 (JNIEnv *, jclass, jlong, jint, jint);
130
131/*
132 * Class: com_ctre_phoenix_CANifierJNI
133 * Method: JNI_GetQuadratureVelocity
134 * Signature: (J)I
135 */
137 (JNIEnv *, jclass, jlong);
138
139/*
140 * Class: com_ctre_phoenix_CANifierJNI
141 * Method: JNI_ConfigVelocityMeasurementPeriod
142 * Signature: (JII)I
143 */
145 (JNIEnv *, jclass, jlong, jint, jint);
146
147/*
148 * Class: com_ctre_phoenix_CANifierJNI
149 * Method: JNI_ConfigVelocityMeasurementWindow
150 * Signature: (JII)I
151 */
153 (JNIEnv *, jclass, jlong, jint, jint);
154
155/*
156 * Class: com_ctre_phoenix_CANifierJNI
157 * Method: JNI_ConfigClearPositionOnLimitF
158 * Signature: (JZI)I
159 */
161 (JNIEnv *, jclass, jlong, jboolean, jint);
162
163/*
164 * Class: com_ctre_phoenix_CANifierJNI
165 * Method: JNI_ConfigClearPositionOnLimitR
166 * Signature: (JZI)I
167 */
169 (JNIEnv *, jclass, jlong, jboolean, jint);
170
171/*
172 * Class: com_ctre_phoenix_CANifierJNI
173 * Method: JNI_ConfigClearPositionOnQuadIdx
174 * Signature: (JZI)I
175 */
177 (JNIEnv *, jclass, jlong, jboolean, jint);
178
179/*
180 * Class: com_ctre_phoenix_CANifierJNI
181 * Method: JNI_ConfigSetCustomParam
182 * Signature: (JIII)I
183 */
185 (JNIEnv *, jclass, jlong, jint, jint, jint);
186
187/*
188 * Class: com_ctre_phoenix_CANifierJNI
189 * Method: JNI_ConfigGetCustomParam
190 * Signature: (JII)I
191 */
193 (JNIEnv *, jclass, jlong, jint, jint);
194
195/*
196 * Class: com_ctre_phoenix_CANifierJNI
197 * Method: JNI_ConfigSetParameter
198 * Signature: (JIDIII)I
199 */
201 (JNIEnv *, jclass, jlong, jint, jdouble, jint, jint, jint);
202
203/*
204 * Class: com_ctre_phoenix_CANifierJNI
205 * Method: JNI_ConfigGetParameter
206 * Signature: (JIII)D
207 */
209 (JNIEnv *, jclass, jlong, jint, jint, jint);
210
211/*
212 * Class: com_ctre_phoenix_CANifierJNI
213 * Method: JNI_ConfigFactoryDefault
214 * Signature: (JI)I
215 */
217 (JNIEnv *, jclass, jlong, jint);
218
219/*
220 * Class: com_ctre_phoenix_CANifierJNI
221 * Method: JNI_SetStatusFramePeriod
222 * Signature: (JIII)I
223 */
225 (JNIEnv *, jclass, jlong, jint, jint, jint);
226
227/*
228 * Class: com_ctre_phoenix_CANifierJNI
229 * Method: JNI_GetStatusFramePeriod
230 * Signature: (JII)I
231 */
233 (JNIEnv *, jclass, jlong, jint, jint);
234
235/*
236 * Class: com_ctre_phoenix_CANifierJNI
237 * Method: JNI_SetControlFramePeriod
238 * Signature: (JII)I
239 */
241 (JNIEnv *, jclass, jlong, jint, jint);
242
243/*
244 * Class: com_ctre_phoenix_CANifierJNI
245 * Method: JNI_GetFirmwareVersion
246 * Signature: (J)I
247 */
249 (JNIEnv *, jclass, jlong);
250
251/*
252 * Class: com_ctre_phoenix_CANifierJNI
253 * Method: JNI_HasResetOccurred
254 * Signature: (J)Z
255 */
257 (JNIEnv *, jclass, jlong);
258
259/*
260 * Class: com_ctre_phoenix_CANifierJNI
261 * Method: JNI_GetFaults
262 * Signature: (J)I
263 */
265 (JNIEnv *, jclass, jlong);
266
267/*
268 * Class: com_ctre_phoenix_CANifierJNI
269 * Method: JNI_GetStickyFaults
270 * Signature: (J)I
271 */
273 (JNIEnv *, jclass, jlong);
274
275/*
276 * Class: com_ctre_phoenix_CANifierJNI
277 * Method: JNI_ClearStickyFaults
278 * Signature: (JI)I
279 */
281 (JNIEnv *, jclass, jlong, jint);
282
283/*
284 * Class: com_ctre_phoenix_CANifierJNI
285 * Method: JNI_GetBusVoltage
286 * Signature: (J)D
287 */
289 (JNIEnv *, jclass, jlong);
290
291#ifdef __cplusplus
292}
293#endif
294#endif
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetQuadraturePosition(JNIEnv *, jclass, jlong, jint, jint)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetFaults(JNIEnv *, jclass, jlong)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigVelocityMeasurementWindow(JNIEnv *, jclass, jlong, jint, jint)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetQuadratureVelocity(JNIEnv *, jclass, jlong)
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetPWMInput(JNIEnv *, jclass, jlong, jint, jdoubleArray)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetFirmwareVersion(JNIEnv *, jclass, jlong)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ClearStickyFaults(JNIEnv *, jclass, jlong, jint)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnLimitF(JNIEnv *, jclass, jlong, jboolean, jint)
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetGeneralInputs(JNIEnv *, jclass, jlong, jbooleanArray)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigFactoryDefault(JNIEnv *, jclass, jlong, jint)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetStickyFaults(JNIEnv *, jclass, jlong)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetQuadraturePosition(JNIEnv *, jclass, jlong)
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1EnablePWMOutput(JNIEnv *, jclass, jlong, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetStatusFramePeriod(JNIEnv *, jclass, jlong, jint, jint)
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetBatteryVoltage(JNIEnv *, jclass, jlong)
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetLEDOutput(JNIEnv *, jclass, jlong, jint, jint)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetLastError(JNIEnv *, jclass, jlong)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetControlFramePeriod(JNIEnv *, jclass, jlong, jint, jint)
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetPWMOutput(JNIEnv *, jclass, jlong, 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_1ConfigSetCustomParam(JNIEnv *, jclass, jlong, jint, jint, jint)
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetGeneralOutput(JNIEnv *, jclass, jlong, jint, jboolean, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetStatusFramePeriod(JNIEnv *, jclass, jlong, jint, jint, jint)
JNIEXPORT jdouble JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetBusVoltage(JNIEnv *, jclass, jlong)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigGetCustomParam(JNIEnv *, jclass, jlong, jint, jint)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnQuadIdx(JNIEnv *, jclass, jlong, jboolean, jint)
JNIEXPORT jboolean JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1GetGeneralInput(JNIEnv *, jclass, jlong, jint)
JNIEXPORT jboolean JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1HasResetOccurred(JNIEnv *, jclass, jlong)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigClearPositionOnLimitR(JNIEnv *, jclass, jlong, jboolean, jint)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigSetParameter(JNIEnv *, jclass, jlong, jint, jdouble, jint, jint, jint)
JNIEXPORT void JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1SetGeneralOutputs(JNIEnv *, jclass, jlong, jint, jint)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1destroy_1CANifier(JNIEnv *, jclass, jlong)
JNIEXPORT jint JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1ConfigVelocityMeasurementPeriod(JNIEnv *, jclass, jlong, jint, jint)
JNIEXPORT jlong JNICALL Java_com_ctre_phoenix_CANifierJNI_JNI_1new_1CANifier(JNIEnv *, jclass, jint)