001/* Copyright (C) Cross The Road Electronics 2024 */ 002package com.ctre.phoenix.sensors; 003 004/** 005 * @deprecated This device's Phoenix 5 API is deprecated for removal in the 006 * 2025 season. Users should update to Phoenix 6 firmware and migrate to the 007 * Phoenix 6 API. A migration guide is available at 008 * https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html. 009 * <p> 010 * If the Phoenix 5 API must be used for this device, the device must have 22.X 011 * firmware. This firmware is available in Tuner X after selecting Phoenix 5 in 012 * the firmware year dropdown. 013 */ 014@Deprecated(since = "2024", forRemoval = true) 015public enum CANCoderStatusFrame{ 016 SensorData (0x041400), 017 VbatAndFaults (0x041440); 018 019 public final int value; 020 021 /** 022 * Create CANCoderStatusFrame of initValue 023 * @param initValue Value of CANCoderStatusFrame 024 */ 025 CANCoderStatusFrame(int initValue) 026 { 027 this.value = initValue; 028 } 029}