001/* 002 * Copyright (C) Cross The Road Electronics. All rights reserved. 003 * License information can be found in CTRE_LICENSE.txt 004 * For support and suggestions contact support@ctr-electronics.com or file 005 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases 006 */ 007package com.ctre.phoenix6.unmanaged.jni; 008 009import com.ctre.phoenix6.jni.CtreJniWrapper; 010 011public class UnmanagedJNI extends CtreJniWrapper { 012 public static native void JNI_FeedEnable(int timeoutMs); 013 014 public static native boolean JNI_GetEnableState(); 015 016 public static native int JNI_GetPhoenixVersion(); 017 018 public static native void JNI_LoadPhoenix(); 019 020 public static native int JNI_IoControl(int ioControlCode, long ioControlParam); 021 022 public static native void JNI_SetPhoenixDiagnosticsStartTime(double startTimeSeconds); 023 024 public static native int JNI_GetApiCompliancy(); 025 026 public static native void JNI_IoControlArray(double[] vals); 027}