/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */

#ifndef PB_MSP_ZQ_MOTORPARAMETERS_PB_H_INCLUDED
#define PB_MSP_ZQ_MOTORPARAMETERS_PB_H_INCLUDED
#include "pb.h"

#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif

/* Struct definitions */
typedef struct _TT_MotorParameters {
    int32_t MotorID;
    int32_t RxIndex;
    int32_t Run_Mode;
    int32_t Real_Current;
    int32_t Target_Current;
    int32_t Real_Velcity;
    int32_t Target_Velcity;
    int32_t Target_Position;
    int32_t ERROR_Flag;
    int32_t Temperature_Motor;
    int32_t Temperature_PCB;
    int32_t CRC_Error;
    int32_t Dri_Inter_Error;
    int32_t Short_circuit_error;
    int32_t Drive_overheating;
    int32_t Motor_overheating;
    int32_t Overvoltage;
    int32_t Undervoltage;
    int32_t Feedback_error;
    int32_t Phase_error;
    int32_t Follow_error;
    int32_t Overcurrent;
    int32_t FPGA_error;
    int32_t Input_command_error;
    int32_t Act_Suc;
    int32_t Cont_Posi_Suc;
    int32_t Acc_Suc;
    int32_t Dec_Suc;
    int32_t Target_Posi_Suc;
    int32_t Run_Speed_Suc;
    int32_t Clear_Suc;
    int32_t Real_Position;
    int32_t Acc_Suc_Speed;
    int32_t Dec_Suc_Speed;
    int32_t Suc_Speed_S;
    int32_t TT_Motor_Fault;
    int32_t AccTime;
    int32_t DecTime;
} TT_MotorParameters;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define TT_MotorParameters_init_default          {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
#define TT_MotorParameters_init_zero             {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}

/* Field tags (for use in manual encoding/decoding) */
#define TT_MotorParameters_MotorID_tag           1
#define TT_MotorParameters_RxIndex_tag           2
#define TT_MotorParameters_Run_Mode_tag          3
#define TT_MotorParameters_Real_Current_tag      4
#define TT_MotorParameters_Target_Current_tag    5
#define TT_MotorParameters_Real_Velcity_tag      6
#define TT_MotorParameters_Target_Velcity_tag    7
#define TT_MotorParameters_Target_Position_tag   8
#define TT_MotorParameters_ERROR_Flag_tag        9
#define TT_MotorParameters_Temperature_Motor_tag 10
#define TT_MotorParameters_Temperature_PCB_tag   11
#define TT_MotorParameters_CRC_Error_tag         12
#define TT_MotorParameters_Dri_Inter_Error_tag   13
#define TT_MotorParameters_Short_circuit_error_tag 14
#define TT_MotorParameters_Drive_overheating_tag 15
#define TT_MotorParameters_Motor_overheating_tag 16
#define TT_MotorParameters_Overvoltage_tag       17
#define TT_MotorParameters_Undervoltage_tag      18
#define TT_MotorParameters_Feedback_error_tag    19
#define TT_MotorParameters_Phase_error_tag       20
#define TT_MotorParameters_Follow_error_tag      21
#define TT_MotorParameters_Overcurrent_tag       22
#define TT_MotorParameters_FPGA_error_tag        23
#define TT_MotorParameters_Input_command_error_tag 24
#define TT_MotorParameters_Act_Suc_tag           25
#define TT_MotorParameters_Cont_Posi_Suc_tag     26
#define TT_MotorParameters_Acc_Suc_tag           27
#define TT_MotorParameters_Dec_Suc_tag           28
#define TT_MotorParameters_Target_Posi_Suc_tag   29
#define TT_MotorParameters_Run_Speed_Suc_tag     30
#define TT_MotorParameters_Clear_Suc_tag         31
#define TT_MotorParameters_Real_Position_tag     32
#define TT_MotorParameters_Acc_Suc_Speed_tag     33
#define TT_MotorParameters_Dec_Suc_Speed_tag     34
#define TT_MotorParameters_Suc_Speed_S_tag       35
#define TT_MotorParameters_TT_Motor_Fault_tag    36
#define TT_MotorParameters_AccTime_tag           37
#define TT_MotorParameters_DecTime_tag           38

/* Struct field encoding specification for nanopb */
#define TT_MotorParameters_FIELDLIST(X, a) \
X(a, STATIC,   SINGULAR, INT32,    MotorID,           1) \
X(a, STATIC,   SINGULAR, INT32,    RxIndex,           2) \
X(a, STATIC,   SINGULAR, INT32,    Run_Mode,          3) \
X(a, STATIC,   SINGULAR, INT32,    Real_Current,      4) \
X(a, STATIC,   SINGULAR, INT32,    Target_Current,    5) \
X(a, STATIC,   SINGULAR, INT32,    Real_Velcity,      6) \
X(a, STATIC,   SINGULAR, INT32,    Target_Velcity,    7) \
X(a, STATIC,   SINGULAR, INT32,    Target_Position,   8) \
X(a, STATIC,   SINGULAR, INT32,    ERROR_Flag,        9) \
X(a, STATIC,   SINGULAR, INT32,    Temperature_Motor,  10) \
X(a, STATIC,   SINGULAR, INT32,    Temperature_PCB,  11) \
X(a, STATIC,   SINGULAR, INT32,    CRC_Error,        12) \
X(a, STATIC,   SINGULAR, INT32,    Dri_Inter_Error,  13) \
X(a, STATIC,   SINGULAR, INT32,    Short_circuit_error,  14) \
X(a, STATIC,   SINGULAR, INT32,    Drive_overheating,  15) \
X(a, STATIC,   SINGULAR, INT32,    Motor_overheating,  16) \
X(a, STATIC,   SINGULAR, INT32,    Overvoltage,      17) \
X(a, STATIC,   SINGULAR, INT32,    Undervoltage,     18) \
X(a, STATIC,   SINGULAR, INT32,    Feedback_error,   19) \
X(a, STATIC,   SINGULAR, INT32,    Phase_error,      20) \
X(a, STATIC,   SINGULAR, INT32,    Follow_error,     21) \
X(a, STATIC,   SINGULAR, INT32,    Overcurrent,      22) \
X(a, STATIC,   SINGULAR, INT32,    FPGA_error,       23) \
X(a, STATIC,   SINGULAR, INT32,    Input_command_error,  24) \
X(a, STATIC,   SINGULAR, INT32,    Act_Suc,          25) \
X(a, STATIC,   SINGULAR, INT32,    Cont_Posi_Suc,    26) \
X(a, STATIC,   SINGULAR, INT32,    Acc_Suc,          27) \
X(a, STATIC,   SINGULAR, INT32,    Dec_Suc,          28) \
X(a, STATIC,   SINGULAR, INT32,    Target_Posi_Suc,  29) \
X(a, STATIC,   SINGULAR, INT32,    Run_Speed_Suc,    30) \
X(a, STATIC,   SINGULAR, INT32,    Clear_Suc,        31) \
X(a, STATIC,   SINGULAR, INT32,    Real_Position,    32) \
X(a, STATIC,   SINGULAR, INT32,    Acc_Suc_Speed,    33) \
X(a, STATIC,   SINGULAR, INT32,    Dec_Suc_Speed,    34) \
X(a, STATIC,   SINGULAR, INT32,    Suc_Speed_S,      35) \
X(a, STATIC,   SINGULAR, INT32,    TT_Motor_Fault,   36) \
X(a, STATIC,   SINGULAR, INT32,    AccTime,          37) \
X(a, STATIC,   SINGULAR, INT32,    DecTime,          38)
#define TT_MotorParameters_CALLBACK NULL
#define TT_MotorParameters_DEFAULT NULL

extern const pb_msgdesc_t TT_MotorParameters_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define TT_MotorParameters_fields &TT_MotorParameters_msg

/* Maximum encoded size of messages (where known) */
#define MSP_ZQ_MOTORPARAMETERS_PB_H_MAX_SIZE     TT_MotorParameters_size
#define TT_MotorParameters_size                  441

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif
