001/* Copyright (C) Cross The Road Electronics 2024 */
002package com.ctre.phoenix.motorcontrol;
003
004/**
005 * Control Frames for motor controllers
006 */
007public enum ControlFrame
008{
009        /**
010         * General Control frame for motor control
011         */
012        Control_3_General(0x040080),
013        /**
014         * Advanced Control frame for motor control
015         */
016        Control_4_Advanced(0x0400C0),
017        /**
018         * Control frame for adding trajectory points from Stream object
019         */
020        Control_6_MotProfAddTrajPoint(0x040140);
021
022        /**
023         * Value of Control Frame
024         */
025        public final int value;
026
027        /**
028         * Create Control frame of initValue
029         * @param initValue Value to create ControlFrame
030         */
031        ControlFrame(int initValue)
032        {
033                this.value = initValue;
034        }
035};