001package com.ctre.phoenix.led; 002 003/** 004 * The various status frames from CANdle 005 */ 006public enum CANdleStatusFrame { 007 /** 008 * General status frame 009 * Includes: 010 * - Battery Voltage 011 * - Current Measurement 012 * - Temperature 013 * - Faults 014 * - Sticky Faults 015 */ 016 CANdleStatusFrame_Status_1_General(0x041400), 017 /** 018 * Startup frame, this is only sent out once 019 */ 020 CANdleStatusFrame_Status_2_Startup(0x041440), 021 /** 022 * Firmware status, this is sent until API gets it, then no longer sends again. 023 */ 024 CANdleStatusFrame_Status_3_FirmwareApiStatus(0x041480), 025 /** 026 * Status frame regarding LED control. Is not used in API. 027 */ 028 CANdleStatusFrame_Status_4_ControlTelem(0x0414C0), 029 /** 030 * Status frame regarding Neopixel generation. Is not used in API. 031 */ 032 CANdleStatusFrame_Status_5_PixelPulseTrain(0x041500), 033 /** 034 * The bottom 4 pixels' state. Is not used in API. 035 */ 036 CANdleStatusFrame_Status_6_BottomPixels(0x041540), 037 /** 038 * The top 4 pixels' state. Is not used in API. 039 */ 040 CANdleStatusFrame_Status_7_TopPixels(0x041580); 041 042 043 final public int value; 044 045 CANdleStatusFrame(int value) { 046 this.value = value; 047 } 048}